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

List:       bochs-cvs
Subject:    [Bochs-cvs] SF.net SVN: bochs:[10512] trunk/bochs/cpu
From:       sshwarts () users ! sourceforge ! net
Date:       2011-07-30 13:21:31
Message-ID: E1Qn9Tv-0003qt-IL () sfp-svn-3 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 10512
          http://bochs.svn.sourceforge.net/bochs/?rev=10512&view=rev
Author:   sshwarts
Date:     2011-07-30 13:21:31 +0000 (Sat, 30 Jul 2011)

Log Message:
-----------
fixed vmexit for xsetbv and getsec

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

Modified: trunk/bochs/cpu/vmx.cc
===================================================================
--- trunk/bochs/cpu/vmx.cc	2011-07-30 09:35:20 UTC (rev 10511)
+++ trunk/bochs/cpu/vmx.cc	2011-07-30 13:21:31 UTC (rev 10512)
@@ -3019,7 +3019,7 @@
 #if BX_SUPPORT_VMX
   if (BX_CPU_THIS_PTR in_vmx_guest) {
     BX_ERROR(("VMEXIT: GETSEC in VMX non-root operation"));
-    VMexit_Instruction(i, VMX_VMEXIT_GETSEC);
+    VMexit(i, VMX_VMEXIT_GETSEC, 0);
   }
 #endif
 

Modified: trunk/bochs/cpu/xsave.cc
===================================================================
--- trunk/bochs/cpu/xsave.cc	2011-07-30 09:35:20 UTC (rev 10511)
+++ trunk/bochs/cpu/xsave.cc	2011-07-30 13:21:31 UTC (rev 10512)
@@ -390,7 +390,7 @@
 #if BX_SUPPORT_VMX
   if (BX_CPU_THIS_PTR in_vmx_guest) {
     BX_ERROR(("VMEXIT: XSETBV in VMX non-root operation"));
-    VMexit_Instruction(i, VMX_VMEXIT_XSETBV);
+    VMexit(i, VMX_VMEXIT_XSETBV, 0);
   }
 #endif
 


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
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