Lines Matching refs:rflags
102 static void __kvm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
5848 unsigned long rflags = kvm_x86_ops->get_rflags(vcpu); in kvm_skip_emulated_instruction() local
5861 if (unlikely(rflags & X86_EFLAGS_TF)) in kvm_skip_emulated_instruction()
6030 unsigned long rflags = kvm_x86_ops->get_rflags(vcpu); in x86_emulate_instruction() local
6047 if (unlikely((ctxt->eflags & ~rflags) & X86_EFLAGS_IF)) in x86_emulate_instruction()
7589 regs->rflags = kvm_get_rflags(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
7619 kvm_set_rflags(vcpu, regs->rflags | X86_EFLAGS_FIXED); in kvm_arch_vcpu_ioctl_set_regs()
7854 unsigned long rflags; in kvm_arch_vcpu_ioctl_set_guest_debug() local
7871 rflags = kvm_get_rflags(vcpu); in kvm_arch_vcpu_ioctl_set_guest_debug()
7895 kvm_set_rflags(vcpu, rflags); in kvm_arch_vcpu_ioctl_set_guest_debug()
8855 unsigned long rflags; in kvm_get_rflags() local
8857 rflags = kvm_x86_ops->get_rflags(vcpu); in kvm_get_rflags()
8859 rflags &= ~X86_EFLAGS_TF; in kvm_get_rflags()
8860 return rflags; in kvm_get_rflags()
8864 static void __kvm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags) in __kvm_set_rflags() argument
8868 rflags |= X86_EFLAGS_TF; in __kvm_set_rflags()
8869 kvm_x86_ops->set_rflags(vcpu, rflags); in __kvm_set_rflags()
8872 void kvm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags) in kvm_set_rflags() argument
8874 __kvm_set_rflags(vcpu, rflags); in kvm_set_rflags()