ia64/xen-unstable

changeset 14996:1c3abf6d144d

[HVM] Save/restore: fix cset 14995
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Wed May 02 14:53:27 2007 +0100 (2007-05-02)
parents f3cf882c9578
children aeac9a7d97e0
files xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Wed May 02 14:41:51 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Wed May 02 14:53:27 2007 +0100
     1.3 @@ -610,7 +610,7 @@ int vmx_vmcs_restore(struct vcpu *v, str
     1.4                  addrbytes = 4;
     1.5              else 
     1.6                  addrbytes = 2;
     1.7 -            ilen = hvm_instruction_length(c->rip, hvm_guest_x86_mode(v));
     1.8 +            ilen = hvm_instruction_length(c->rip, addrbytes);
     1.9              __vmwrite(VM_ENTRY_INSTRUCTION_LEN, ilen);
    1.10          }
    1.11