[libvirt-users] CPU model and type

Bhasker C V bhasker at unixindia.com
Thu Feb 5 22:03:57 UTC 2015


you can set the CPU type and model and features
https://libvirt.org/formatdomain.html
I usually give it during the virt-install as -cpu core2duo,+vmx  (the
,+vmx will enable vmx vt extensions on the guest CPU )

  ...
  <cpu match='exact'>
    <model fallback='allow'>core2duo</model>
    <vendor>Intel</vendor>
    <topology sockets='1' cores='2' threads='1'/>
    <feature policy='disable' name='lahf_lm'/>
  </cpu>
  ...

On 2/5/15, Paul Apostolescu <apbogdan at gmail.com> wrote:
> Hello,
>
> Is there a way to configure the domain cpu in such a way that the info
> reported to the guest OS system will remain constant ? For example in older
> versions of of libvirt/qemu the cpu was reported as "QEMU Virtual CPU
> version (cpu64_rhel6)" but moving the vm on a qemu2.2.0 is is reported as
> "QEMU Virtual CPU version 2.2.0".
>
> Thanks.
>




More information about the libvirt-users mailing list