WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH][VT] add "wbinvd" instruction emulattion for real mod

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][VT] add "wbinvd" instruction emulattion for real mode code
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Tue, 27 Sep 2005 17:22:55 +0800
Delivery-date: Tue, 27 Sep 2005 09:20:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXDRQrswonssHbxT8Osjf7l4MVClQ==
Thread-topic: [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@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 <=