KVM: X86 emulator: fix 'push reg' writeback

Pointed out by Rusty Russell.

Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
Avi Kivity 2007-08-22 18:09:29 +03:00
parent 2e2c618dad
commit d39dba54ce

View File

@ -1163,7 +1163,6 @@ special_insn:
register_address_increment(_regs[VCPU_REGS_RSP], -op_bytes); register_address_increment(_regs[VCPU_REGS_RSP], -op_bytes);
dst.ptr = (void *) register_address( dst.ptr = (void *) register_address(
ctxt->ss_base, _regs[VCPU_REGS_RSP]); ctxt->ss_base, _regs[VCPU_REGS_RSP]);
no_wb = 1; /* force writeback */
break; break;
case 0x6c: /* insb */ case 0x6c: /* insb */
case 0x6d: /* insw/insd */ case 0x6d: /* insw/insd */