|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH][VT] add "wbinvd" instruction emulattion for real mod
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@xxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH][VT] add "wbinvd" instruction emulattion for real mode code,
Li, Xin B <=
|
|
|
|
|