mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
[HVM] Save/restore: fix cset 14995
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
1 parent
b171a0d5e0
commit
e00a29ecd2
1 file changed
+1
-1
@@ -610,7 +610,7 @@ int vmx_vmcs_restore(struct vcpu *v, struct hvm_hw_cpu *c)
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||