[libvirt] [PATCH] Add Skylake Cpu Model

Qiao, Liyong liyong.qiao at intel.com
Tue May 17 08:45:37 UTC 2016


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

Even we cann't use qemu to boot a Skylake cpu virtual machine, but if we specify in host mode, we still can  
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>

Best Regards,
Qiao, Liyong (Eli) OTC SSG Intel
------------------------------------------------
           此致
敬礼!
英特尔(中国)有限公司软件与服务部开源技术中心 乔立勇



              -----Original Message-----
              From: Jiri Denemark [mailto:jdenemar at redhat.com]
              Sent: Monday, May 16, 2016 9:03 PM
              To: Qiao, Liyong <liyong.qiao at intel.com>
              Cc: libvir-list at redhat.com
              Subject: Re: [libvirt] [PATCH] Add Skylake Cpu Model
              
              On Mon, May 16, 2016 at 17:15:44 +0800, Eli Qiao wrote:
              > Add Skylake Cpu model to cpu maps to let libvirt discover host
              Skylake
              > cpu model correctly.
              >
              > Currently, libvirt still think a Skylake cpu as Broadwell-noTSX
              > Signed-off-by: Eli Qiao <liyong.qiao at intel.com>
              > ---
              >  src/cpu/cpu_map.xml | 76
              >
              ++++++++++++++++++++++++++++++++++++++++++++++++++++
              +
              >  1 file changed, 76 insertions(+)
              
              Adding a new model to libvirt when there is no support for it in
              QEMU makes no sense. The only benefit will be seeing Skylake in
              capabilities XML, but users won't be able to use it anyway.
              
              Jirka




More information about the libvir-list mailing list