Home
last modified time | relevance | path

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

/Linux-v4.19/Documentation/virtual/kvm/
Dvcpu-requests.rst76 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/
Darm.c101 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/
Dkvm_host.h203 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/
Dmips.c474 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/
Dpowerpc.c105 vcpu->mode = IN_GUEST_MODE; in kvmppc_prepare_to_enter()
/Linux-v4.19/virt/kvm/
Dkvm_main.c193 return mode == IN_GUEST_MODE; in kvm_request_needs_ipi()
/Linux-v4.19/arch/x86/kvm/
Dx86.c7547 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()
Dvmx.c6201 if (vcpu->mode == IN_GUEST_MODE) { in kvm_vcpu_trigger_posted_interrupt()