Home
last modified time | relevance | path

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

/linux-6.3-rc2/Documentation/virt/kvm/
A Dvcpu-requests.rst78 IN_GUEST_MODE
84 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-6.3-rc2/arch/riscv/kvm/
A Dvcpu.c251 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick()
1054 vcpu->mode = IN_GUEST_MODE; in kvm_arch_vcpu_ioctl_run()
/linux-6.3-rc2/arch/mips/kvm/
A Dmips.c454 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run()
1342 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in __kvm_mips_handle_exit()
/linux-6.3-rc2/arch/arm64/kvm/
A Darm.c63 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick()
911 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run()
/linux-6.3-rc2/include/linux/
A Dkvm_host.h274 IN_GUEST_MODE, enumerator
552 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dpowerpc.c101 vcpu->mode = IN_GUEST_MODE; in kvmppc_prepare_to_enter()
/linux-6.3-rc2/virt/kvm/
A Dkvm_main.c248 return mode == IN_GUEST_MODE; in kvm_request_needs_ipi()
3618 if (vcpu->mode == IN_GUEST_MODE) in kvm_vcpu_kick()
/linux-6.3-rc2/arch/x86/kvm/
A Dlapic.c167 return kvm_can_post_timer_interrupt(vcpu) && vcpu->mode == IN_GUEST_MODE; in kvm_use_posted_timer_interrupt()
A Dx86.c10580 smp_store_release(&vcpu->mode, IN_GUEST_MODE); in vcpu_enter_guest()
12786 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick()
/linux-6.3-rc2/arch/x86/kvm/svm/
A Dsvm.c3518 bool in_guest_mode = (smp_load_acquire(&vcpu->mode) == IN_GUEST_MODE); in svm_complete_interrupt_delivery()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dvmx.c4149 if (vcpu->mode == IN_GUEST_MODE) { in kvm_vcpu_trigger_posted_interrupt()

Completed in 72 milliseconds