Home
last modified time | relevance | path

Searched refs:IN_GUEST_MODE (Results 1 – 10 of 10) sorted by relevance

/linux/Documentation/virt/kvm/
A Dvcpu-requests.rst76 IN_GUEST_MODE
82 The VCPU thread is transitioning from IN_GUEST_MODE to
201 - set ``vcpu->mode`` to IN_GUEST_MODE between disabling the interrupts and
218 WRITE_ONCE(vcpu->mode, IN_GUEST_MODE); kvm_make_request(REQ, vcpu);
221 IN_GUEST_MODE) {
228 ``vcpu->mode`` to IN_GUEST_MODE. WRITE_ONCE() and READ_ONCE() are used to
238 sending kick also change the VCPU mode to something !IN_GUEST_MODE. The
246 VCPU threads are in modes other than IN_GUEST_MODE. For example, one case
250 checking that the VCPU is IN_GUEST_MODE to checking that it is not
263 just about to set its mode to IN_GUEST_MODE, meaning no IPI is sent, then
[all …]
/linux/arch/riscv/kvm/
A Dvcpu.c135 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick()
745 vcpu->mode = IN_GUEST_MODE; in kvm_arch_vcpu_ioctl_run()
/linux/arch/arm64/kvm/
A Darm.c68 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick()
837 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run()
/linux/arch/mips/kvm/
A Dmips.c470 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run()
1360 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_mips_handle_exit()
/linux/include/linux/
A Dkvm_host.h248 IN_GUEST_MODE, enumerator
418 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode()
/linux/arch/powerpc/kvm/
A Dpowerpc.c100 vcpu->mode = IN_GUEST_MODE; in kvmppc_prepare_to_enter()
/linux/arch/x86/kvm/
A Dlapic.c129 return kvm_can_post_timer_interrupt(vcpu) && vcpu->mode == IN_GUEST_MODE; in kvm_use_posted_timer_interrupt()
A Dx86.c9823 vcpu->mode = IN_GUEST_MODE; in vcpu_enter_guest()
11890 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick()
/linux/virt/kvm/
A Dkvm_main.c233 return mode == IN_GUEST_MODE; in kvm_request_needs_ipi()
/linux/arch/x86/kvm/vmx/
A Dvmx.c3888 if (vcpu->mode == IN_GUEST_MODE) { in kvm_vcpu_trigger_posted_interrupt()

Completed in 71 milliseconds