Searched refs:IN_GUEST_MODE (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/Documentation/virtual/kvm/ |
D | vcpu-requests.rst | 76 IN_GUEST_MODE 82 The VCPU thread is transitioning from IN_GUEST_MODE to 199 - set ``vcpu->mode`` to IN_GUEST_MODE between disabling the interrupts and 216 WRITE_ONCE(vcpu->mode, IN_GUEST_MODE); kvm_make_request(REQ, vcpu); 219 IN_GUEST_MODE) { 226 ``vcpu->mode`` to IN_GUEST_MODE. WRITE_ONCE() and READ_ONCE() are used to 236 sending kick also change the VCPU mode to something !IN_GUEST_MODE. The 244 VCPU threads are in modes other than IN_GUEST_MODE. For example, one case 248 checking that the VCPU is IN_GUEST_MODE to checking that it is not 261 just about to set its mode to IN_GUEST_MODE, meaning no IPI is sent, then [all …]
|
/Linux-v4.19/virt/kvm/arm/ |
D | arm.c | 101 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick() 741 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run()
|
/Linux-v4.19/include/linux/ |
D | kvm_host.h | 203 IN_GUEST_MODE, enumerator 288 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode()
|
/Linux-v4.19/arch/mips/kvm/ |
D | mips.c | 474 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run() 1450 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_mips_handle_exit()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | powerpc.c | 105 vcpu->mode = IN_GUEST_MODE; in kvmppc_prepare_to_enter()
|
/Linux-v4.19/virt/kvm/ |
D | kvm_main.c | 193 return mode == IN_GUEST_MODE; in kvm_request_needs_ipi()
|
/Linux-v4.19/arch/x86/kvm/ |
D | x86.c | 7547 vcpu->mode = IN_GUEST_MODE; in vcpu_enter_guest() 9277 return kvm_vcpu_exiting_guest_mode(vcpu) == IN_GUEST_MODE; in kvm_arch_vcpu_should_kick()
|
D | vmx.c | 6201 if (vcpu->mode == IN_GUEST_MODE) { in kvm_vcpu_trigger_posted_interrupt()
|