[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-cvs
Subject:    [Bochs-cvs] [14319] trunk/bochs/cpu/vmx.cc
From:       sshwarts--- via Bochs-cvs <bochs-cvs () lists ! sourceforge ! net>
Date:       2021-07-23 10:13:48
Message-ID: 1627035228.815305.936 () sfp-scm-3 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

Revision: 14319
Author:   sshwarts
Date:     2021-07-23 10:13:48 +0000 (Fri, 23 Jul 2021)
Log Message:
-----------
fixed VMX exit qualification info for INVEPT/INVVPID/INVPCID instructions

Modified Paths:
--------------
    trunk/bochs/cpu/vmx.cc

Modified: trunk/bochs/cpu/vmx.cc
===================================================================
--- trunk/bochs/cpu/vmx.cc	2021-07-23 09:30:17 UTC (rev 14318)
+++ trunk/bochs/cpu/vmx.cc	2021-07-23 10:13:48 UTC (rev 14319)
@@ -3680,7 +3680,7 @@
     exception(BX_UD_EXCEPTION, 0);
 
   if (BX_CPU_THIS_PTR in_vmx_guest) {
-    VMexit_Instruction(i, VMX_VMEXIT_INVEPT);
+    VMexit_Instruction(i, VMX_VMEXIT_INVEPT, BX_WRITE);
   }
 
   if (CPL != 0) {
@@ -3738,7 +3738,7 @@
     exception(BX_UD_EXCEPTION, 0);
 
   if (BX_CPU_THIS_PTR in_vmx_guest) {
-    VMexit_Instruction(i, VMX_VMEXIT_INVVPID);
+    VMexit_Instruction(i, VMX_VMEXIT_INVVPID, BX_WRITE);
   }
 
   if (CPL != 0) {
@@ -3832,7 +3832,7 @@
   // INVPCID will always #UD in legacy VMX mode
   if (BX_CPU_THIS_PTR in_vmx_guest) {
     if (VMEXIT(VMX_VM_EXEC_CTRL2_INVLPG_VMEXIT)) {
-      VMexit_Instruction(i, VMX_VMEXIT_INVPCID);
+      VMexit_Instruction(i, VMX_VMEXIT_INVPCID, BX_WRITE);
     }
   }
 #endif



_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic