summaryrefslogtreecommitdiffstats
path: root/drivers/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-08-22 18:09:29 +0300
committerAvi Kivity <avi@qumranet.com>2007-10-13 10:18:24 +0200
commitd39dba54ce71ab3234c387219b175dc36d37f85a (patch)
tree6a444977fcef69ca3ec4dc5bee6de400cabf70c8 /drivers/kvm
parent2e2c618dad6d5768da4a891ff71fc1ca0cbd3fe0 (diff)
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')
-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 cf895aab51d..7439b3422ec 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 */