[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qemu-xen staging] target/i386: add the missing vmx features for Skylake-Server and Cascadelake-Server CPU models



commit 644e3c5d812d1d672388124eeb43d0e26b3ff58c
Author:     Chenyi Qiang <chenyi.qiang@xxxxxxxxx>
AuthorDate: Tue Jul 14 16:41:48 2020 +0800
Commit:     Eduardo Habkost <ehabkost@xxxxxxxxxx>
CommitDate: Thu Jul 16 11:05:03 2020 -0400

    target/i386: add the missing vmx features for Skylake-Server and 
Cascadelake-Server CPU models
    
    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@xxxxxxxxx>
    Message-Id: <20200714084148.26690-4-chenyi.qiang@xxxxxxxxx>
    Signed-off-by: Eduardo Habkost <ehabkost@xxxxxxxxxx>
---
 target/i386/cpu.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 132ef90421..588f32e136 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -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 */ }
         }
     },
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.