Li, Xin B
2005-Sep-27 09:22 UTC
[Xen-devel] [PATCH][VT] add "wbinvd" instruction emulattion for real mode code
This patch adds "wbinvd" instruction emulation for vm86 mode.
This is needed when we bring up AP of SMP VMX guest.
Signed-off-by: Xin Li <xin.b.li@intel.com>
diff -r 94c6fc048d8e tools/firmware/vmxassist/vm86.c
--- a/tools/firmware/vmxassist/vm86.c Fri Sep 23 11:52:43 2005
+++ b/tools/firmware/vmxassist/vm86.c Tue Sep 27 17:17:25 2005
@@ -752,6 +752,9 @@
goto invalid;
}
break;
+ case 0x09: /* wbinvd */
+ asm volatile("wbinvd");
+ return OPC_EMULATED;
case 0x20: /* mov Rd, Cd (1h) */
case 0x22:
if (!movcr(regs, prefix, opc))
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
