[HVM] Save/restore: fix cset 14995

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
Tim Deegan committed 2007-05-02 14:53:27 +01:00
1 parent b171a0d5e0
commit e00a29ecd2
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.