Home
last modified time | relevance | path

Searched refs:emul_flags (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
Dkvm_emulate.h293 int emul_flags; member
/linux-4.4.14/arch/x86/kvm/
Demulate.c2482 if ((ctxt->emul_flags & X86EMUL_SMM_MASK) == 0) in em_rsm()
2531 if ((ctxt->emul_flags & X86EMUL_SMM_INSIDE_NMI_MASK) == 0) in em_rsm()
2534 ctxt->emul_flags &= ~X86EMUL_SMM_INSIDE_NMI_MASK; in em_rsm()
2535 ctxt->emul_flags &= ~X86EMUL_SMM_MASK; in em_rsm()
5175 if (unlikely(ctxt->emul_flags & X86EMUL_GUEST_MASK) && ctxt->intercept) { in x86_emulate_insn()
5204 if (unlikely(ctxt->emul_flags & X86EMUL_GUEST_MASK) && (ctxt->d & Intercept)) { in x86_emulate_insn()
5258 if (unlikely(ctxt->emul_flags & X86EMUL_GUEST_MASK) && (ctxt->d & Intercept)) { in x86_emulate_insn()
Dx86.c5059 ctxt->emul_flags = vcpu->arch.hflags; in init_emulate_ctxt()
5246 static void kvm_set_hflags(struct kvm_vcpu *vcpu, unsigned emul_flags) in kvm_set_hflags() argument
5248 unsigned changed = vcpu->arch.hflags ^ emul_flags; in kvm_set_hflags()
5250 vcpu->arch.hflags = emul_flags; in kvm_set_hflags()
5455 if (vcpu->arch.hflags != ctxt->emul_flags) in x86_emulate_instruction()
5456 kvm_set_hflags(vcpu, ctxt->emul_flags); in x86_emulate_instruction()