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

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

Completed in 181 milliseconds