[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] This patch adds "wbinvd" instruction emulation for vm86 mode.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a4ad6692193ab61e33ad326a9c86b9303e244473
# Parent  c9d690c52afc4e9aeab06dd5dd1122ec2b473527
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 c9d690c52afc -r a4ad6692193a tools/firmware/vmxassist/vm86.c
--- a/tools/firmware/vmxassist/vm86.c   Tue Sep 27 14:06:40 2005
+++ b/tools/firmware/vmxassist/vm86.c   Tue Sep 27 14:11:07 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.