diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kvm/x86_emulate.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index ea051173b0da..a391e213fe61 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c | |||
@@ -1415,13 +1415,7 @@ special_insn: | |||
1415 | emulate_1op("dec", c->dst, ctxt->eflags); | 1415 | emulate_1op("dec", c->dst, ctxt->eflags); |
1416 | break; | 1416 | break; |
1417 | case 0x50 ... 0x57: /* push reg */ | 1417 | case 0x50 ... 0x57: /* push reg */ |
1418 | c->dst.type = OP_MEM; | 1418 | emulate_push(ctxt); |
1419 | c->dst.bytes = c->op_bytes; | ||
1420 | c->dst.val = c->src.val; | ||
1421 | register_address_increment(c, &c->regs[VCPU_REGS_RSP], | ||
1422 | -c->op_bytes); | ||
1423 | c->dst.ptr = (void *) register_address( | ||
1424 | c, ss_base(ctxt), c->regs[VCPU_REGS_RSP]); | ||
1425 | break; | 1419 | break; |
1426 | case 0x58 ... 0x5f: /* pop reg */ | 1420 | case 0x58 ... 0x5f: /* pop reg */ |
1427 | pop_instruction: | 1421 | pop_instruction: |