Results 1 to 2 of 2

Thread: virt-manager CPU configuration

  1. #1
    Join Date
    Feb 2011
    Location
    Oxford. UK
    Beans
    100
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    virt-manager CPU configuration

    Hello folks,

    I have recently installed a Windows 7 Professional 64bit guest on my Ubuntu 14.04 64bit KVM/QEMU host. My host CPU is an AMD 8350 FX 8-core black edition. When I go to the Processor settings for the VM I see that in the Configuration section there is a button called "Copy host CPU configuration" and when I press that the Model gets set to "Opteron_G5". I've read online that you can start a VM up via command line with argument "-cpu host" which is supposed to expose the actual host CPU to the VM (correct me if i'm wrong). Will pressing the "Copy host CPU configuration" button give me the same result? Will my VM make full use of all CPU features using this button and having the model set to "Opteron_G5"?

    Thanks,
    JB

  2. #2
    Join Date
    Mar 2010
    Location
    Metro-ATL; PM free zone.
    Beans
    Hidden!
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: virt-manager CPU configuration

    I didn't look this up today, but have previously, a few yrs ago. The intent of that button, as I understand it, is to force a specific CPU model so that live-migrations of VMs to other physical servers goes smoothly. Also, it helps for cluster configurations. By default, the hostOS CPU capabilities ARE used on recent libvirts. If you aren't migrating or clustering, don't touch it.

    http://libvirt.org/formatdomain.html#elementsCPU

    I don't know much about AMD the last 5 yrs - so I'll put it in Intel terms. I have Core 2Duo, Core i5 and Core i7 KVM servers here. I force all the VMs to be Core2Duo so that live migrations can end up on any server without issue. That means that migrations from the i7 to the C2D work. Otherwise ...er ... it would be bad, assuming the migration were even allowed.

    To understand any of these settings, the best place to look is the libvirt documentation. Found this bug: http://wiki.libvirt.org/page/Libvirt...ation#Solution which could be something you're seeing.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •