]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/i386: add the missing vmx features for Skylake-Server and Cascadelake-Server...
authorChenyi Qiang <chenyi.qiang@intel.com>
Tue, 14 Jul 2020 08:41:48 +0000 (16:41 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 16 Jul 2020 15:05:03 +0000 (11:05 -0400)
Add the missing vmx features in Skylake-Server and Cascadelake-Server
CPU models based on the output of Paolo's script.

Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20200714084148.26690-4-chenyi.qiang@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c

index 132ef9042145a34be053dc854ec407e87673ae0f..588f32e1362157c388a6e2504c01c0179a1c526e 100644 (file)
@@ -3034,6 +3034,13 @@ static X86CPUDefinition builtin_x86_defs[] = {
                     { /* end of list */ }
                 }
             },
+            {
+                .version = 4,
+                .props = (PropValue[]) {
+                    { "vmx-eptp-switching", "on" },
+                    { /* end of list */ }
+                }
+            },
             { /* end of list */ }
         }
     },
@@ -3158,6 +3165,13 @@ static X86CPUDefinition builtin_x86_defs[] = {
                   { /* end of list */ }
               },
             },
+            { .version = 4,
+              .note = "ARCH_CAPABILITIES, no TSX",
+              .props = (PropValue[]) {
+                  { "vmx-eptp-switching", "on" },
+                  { /* end of list */ }
+              },
+            },
             { /* end of list */ }
         }
     },