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

[Xen-changelog] [xen-3.1-testing] [HVM] Save/restore: fix cset 14995



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1178114007 -3600
# Node ID 1c3abf6d144d2cf9714fd8e9da5435d6dee2e984
# Parent  f3cf882c9578f4c283ed8e17423e1da36aa12947
[HVM] Save/restore: fix cset 14995
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r f3cf882c9578 -r 1c3abf6d144d xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Wed May 02 14:41:51 2007 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Wed May 02 14:53:27 2007 +0100
@@ -610,7 +610,7 @@ int vmx_vmcs_restore(struct vcpu *v, str
                 addrbytes = 4;
             else 
                 addrbytes = 2;
-            ilen = hvm_instruction_length(c->rip, hvm_guest_x86_mode(v));
+            ilen = hvm_instruction_length(c->rip, addrbytes);
             __vmwrite(VM_ENTRY_INSTRUCTION_LEN, ilen);
         }
 

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