From: Avi Kivity Date: Wed, 22 Aug 2007 15:09:29 +0000 (+0300) Subject: KVM: X86 emulator: fix 'push reg' writeback X-Git-Tag: v2.6.24-rc1~1365^2~43 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39dba54ce71ab3234c387219b175dc36d37f85a;p=linux-2.6 KVM: X86 emulator: fix 'push reg' writeback Pointed out by Rusty Russell. Signed-off-by: Avi Kivity --- diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index cf895aab51..7439b3422e 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c @@ -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 */