Skip to content

Commit

Permalink
KVM: X86 emulator: fix 'push reg' writeback
Browse files Browse the repository at this point in the history
Pointed out by Rusty Russell.

Signed-off-by: Avi Kivity <avi@qumranet.com>
  • Loading branch information
Avi Kivity committed Oct 13, 2007
1 parent 2e2c618 commit d39dba5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/kvm/x86_emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d39dba5

Please sign in to comment.