Searched refs:IN_GUEST_MODE (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/Documentation/virt/kvm/ |
A D | vcpu-requests.rst | 78 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 D | vcpu.c | 251 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 D | mips.c | 454 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 D | arm.c | 63 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 D | kvm_host.h | 274 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 D | powerpc.c | 101 vcpu->mode = IN_GUEST_MODE; in kvmppc_prepare_to_enter()
|
/linux-6.3-rc2/virt/kvm/ |
A D | kvm_main.c | 248 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 D | lapic.c | 167 return kvm_can_post_timer_interrupt(vcpu) && vcpu->mode == IN_GUEST_MODE; in kvm_use_posted_timer_interrupt()
|
A D | x86.c | 10580 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 D | svm.c | 3518 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 D | vmx.c | 4149 if (vcpu->mode == IN_GUEST_MODE) { in kvm_vcpu_trigger_posted_interrupt()
|
Completed in 72 milliseconds