[libvirt] [PATCH] Add Skylake Cpu Model
Jiri Denemark
jdenemar at redhat.com
Fri May 20 07:23:43 UTC 2016
On Tue, May 17, 2016 at 08:45:37 +0000, Qiao, Liyong wrote:
> Hi Jirka
> Thanks for your comments,, the qemu patch is on the way, check
> https://lists.gnu.org/archive/html/qemu-devel/2016-04/msg03951.html
Right, once the CPU model is added to QEMU, we'll update our CPU map
too.
> Even we cann't use qemu to boot a Skylake cpu virtual machine, but if
> we specify in host mode, we still can
Yes, but you can do that even if libvirt does not report the host CPU as
Skylake.
> And besides, the follow cpu feature has already in qemu tree.
>
> + <!-- XSAVE CPUID[EAX=0xd,ECX=1].EAX -->
> + <feature name='xsaveopt'>
> + <cpuid function='0xd' eax='0x00000001'/>
> + </feature>
> + <feature name='xsavec'>
> + <cpuid function='0xd' eax='0x00000002'/>
> + </feature>
> + <feature name='xgetbv1'>
> + <cpuid function='0xd' eax='0x00000004'/>
> + </feature>
> + <feature name='xsaves' migratable='no'>
> + <cpuid function='0xd' eax='0x00000008'/>
> + </feature>
Yes, these features could be added even now, although this patch is not
enough. I'll take care of adding the features to libvirt.
Jirka
More information about the libvir-list
mailing list