aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-08-22 11:09:29 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:24 -0400
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 cf895aab51d6..7439b3422ecf 100644
--- a/drivers/kvm/x86_emulate.c
+++ b/drivers/kvm/x86_emulate.c
@@ -1163,7 +1163,6 @@ special_insn:
1163 register_address_increment(_regs[VCPU_REGS_RSP], -op_bytes); 1163 register_address_increment(_regs[VCPU_REGS_RSP], -op_bytes);
1164 dst.ptr = (void *) register_address( 1164 dst.ptr = (void *) register_address(
1165 ctxt->ss_base, _regs[VCPU_REGS_RSP]); 1165 ctxt->ss_base, _regs[VCPU_REGS_RSP]);
1166 no_wb = 1; /* force writeback */
1167 break; 1166 break;
1168 case 0x6c: /* insb */ 1167 case 0x6c: /* insb */
1169 case 0x6d: /* insw/insd */ 1168 case 0x6d: /* insw/insd */