]> err.no Git - linux-2.6/commitdiff
KVM: X86 emulator: fix 'push reg' writeback
authorAvi Kivity <avi@qumranet.com>
Wed, 22 Aug 2007 15:09:29 +0000 (18:09 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:24 +0000 (10:18 +0200)
Pointed out by Rusty Russell.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86_emulate.c

index cf895aab51d691ca322699beaceb03052d6c12cd..7439b3422ecf92181ca0fd0afedb571f9ae9d45c 100644 (file)
@@ -1163,7 +1163,6 @@ special_insn:
                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 */