summaryrefslogtreecommitdiff
path: root/drivers/kvm/x86_emulate.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-08-22 15:09:29 (GMT)
committerAvi Kivity <avi@qumranet.com>2007-10-13 08:18:24 (GMT)
commitd39dba54ce71ab3234c387219b175dc36d37f85a (patch)
tree6a444977fcef69ca3ec4dc5bee6de400cabf70c8 /drivers/kvm/x86_emulate.c
parent2e2c618dad6d5768da4a891ff71fc1ca0cbd3fe0 (diff)
downloadlinux-d39dba54ce71ab3234c387219b175dc36d37f85a.tar.xz
KVM: X86 emulator: fix 'push reg' writeback
Pointed out by Rusty Russell. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.c')
-rw-r--r--drivers/kvm/x86_emulate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c
index cf895aa..7439b34 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 */