Searched refs:IN_GUEST_MODE (Results 1 – 10 of 10) sorted by relevance
| /linux/Documentation/virt/kvm/ |
| A D | vcpu-requests.rst | 76 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 D | vcpu.c | 135 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 D | arm.c | 68 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 D | mips.c | 470 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 D | kvm_host.h | 248 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 D | powerpc.c | 100 vcpu->mode = IN_GUEST_MODE; in kvmppc_prepare_to_enter()
|
| /linux/arch/x86/kvm/ |
| A D | lapic.c | 129 return kvm_can_post_timer_interrupt(vcpu) && vcpu->mode == IN_GUEST_MODE; in kvm_use_posted_timer_interrupt()
|
| A D | x86.c | 9823 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 D | kvm_main.c | 233 return mode == IN_GUEST_MODE; in kvm_request_needs_ipi()
|
| /linux/arch/x86/kvm/vmx/ |
| A D | vmx.c | 3888 if (vcpu->mode == IN_GUEST_MODE) { in kvm_vcpu_trigger_posted_interrupt()
|
Completed in 71 milliseconds