Allow INVPCID from the guest.
authorGan Shun <ganshun@gmail.com>
Thu, 28 Sep 2017 19:25:01 +0000 (12:25 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 28 Sep 2017 19:42:59 +0000 (15:42 -0400)
Signed-off-by: Gan Shun <ganshun@gmail.com>
Change-Id: Ib8226f5b936d15644a5d35b86f26488aa9696b47
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/vmm/intel/vmx.c
kern/kfs/tinycore_cmdline

index 98c4404..b99ffd2 100644 (file)
@@ -554,6 +554,7 @@ static struct vmxec cb2ec = {
                     SECONDARY_EXEC_APIC_REGISTER_VIRT |
                     SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY |
                     SECONDARY_EXEC_VIRTUALIZE_X2APIC_MODE |
+                    SECONDARY_EXEC_ENABLE_INVPCID |
                     SECONDARY_EXEC_WBINVD_EXITING),
 
        .must_be_0 = (
@@ -563,7 +564,6 @@ static struct vmxec cb2ec = {
                     SECONDARY_EXEC_UNRESTRICTED_GUEST |
                     SECONDARY_EXEC_PAUSE_LOOP_EXITING |
                     SECONDARY_EXEC_RDRAND_EXITING |
-                    SECONDARY_EXEC_ENABLE_INVPCID |
                     SECONDARY_EXEC_ENABLE_VMFUNC |
                     SECONDARY_EXEC_SHADOW_VMCS |
                     SECONDARY_EXEC_RDSEED_EXITING |
index e592402..9a95477 100644 (file)
@@ -11,5 +11,4 @@ earlyprintk=vmcall,keep
  pit=none
  nortc
  nozswap
- noinvpcid
  noht