Commit d39dba54 authored by Avi Kivity's avatar Avi Kivity

KVM: X86 emulator: fix 'push reg' writeback

Pointed out by Rusty Russell.
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 2e2c618d
......@@ -1163,7 +1163,6 @@ x86_emulate_memop(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops)
register_address_increment(_regs[VCPU_REGS_RSP], -op_bytes);
dst.ptr = (void *) register_address(
ctxt->ss_base, _regs[VCPU_REGS_RSP]);
no_wb = 1; /* force writeback */
break;
case 0x6c: /* insb */
case 0x6d: /* insw/insd */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment