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

[Xen-changelog] [xen-3.1-testing] vmxassist: Emulate CLTS.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1200049631 0
# Node ID e3b73c4f44de29f4b9a93133f4f22b74811efa19
# Parent  5a64f1bf9460c601bd3aa8089a3419535ec740ba
vmxassist: Emulate CLTS.
Signed-off-by: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   16706:f2b4779623d26e30ebd693a1cfccfe1162243191
xen-unstable date:        Fri Jan 11 10:59:48 2008 +0000
---
 tools/firmware/vmxassist/vm86.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 5a64f1bf9460 -r e3b73c4f44de tools/firmware/vmxassist/vm86.c
--- a/tools/firmware/vmxassist/vm86.c   Fri Jan 11 11:06:22 2008 +0000
+++ b/tools/firmware/vmxassist/vm86.c   Fri Jan 11 11:07:11 2008 +0000
@@ -1310,6 +1310,9 @@ opcode(struct regs *regs)
                                        goto invalid;
                                }
                                break;
+                       case 0x06: /* clts */
+                               oldctx.cr0 &= ~CR0_TS;
+                               return OPC_EMULATED;
                        case 0x09: /* wbinvd */
                                return OPC_EMULATED;
                        case 0x20: /* mov Rd, Cd (1h) */

_______________________________________________
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®.