aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86_emulate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86_emulate.c')
-rw-r--r--arch/x86/kvm/x86_emulate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 72ae86b1b131..e8c87ccfe310 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -1552,7 +1552,9 @@ special_insn:
1552 emulate_push(ctxt); 1552 emulate_push(ctxt);
1553 break; 1553 break;
1554 case 0x9d: /* popf */ 1554 case 0x9d: /* popf */
1555 c->dst.type = OP_REG;
1555 c->dst.ptr = (unsigned long *) &ctxt->eflags; 1556 c->dst.ptr = (unsigned long *) &ctxt->eflags;
1557 c->dst.bytes = c->op_bytes;
1556 goto pop_instruction; 1558 goto pop_instruction;
1557 case 0xa0 ... 0xa1: /* mov */ 1559 case 0xa0 ... 0xa1: /* mov */
1558 c->dst.ptr = (unsigned long *)&c->regs[VCPU_REGS_RAX]; 1560 c->dst.ptr = (unsigned long *)&c->regs[VCPU_REGS_RAX];