Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1705997
| From | "Longpeng(Mike)" <longpeng2@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 4/4] KVM: arm: implements the kvm_arch_vcpu_in_kernel() |
| Date | 2017-08-08 06:10 +0200 |
| Message-ID | <uc40a-2u9-23@gated-at.bofh.it> (permalink) |
| References | <uc409-2u9-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This implements the kvm_arch_vcpu_in_kernel() for ARM.
Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
---
virt/kvm/arm/arm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c
index 862f820..b9f68e4 100644
--- a/virt/kvm/arm/arm.c
+++ b/virt/kvm/arm/arm.c
@@ -418,7 +418,7 @@ int kvm_arch_vcpu_runnable(struct kvm_vcpu *v)
bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu)
{
- return false;
+ return vcpu_mode_priv(vcpu);
}
/* Just ensure a guest exit from a particular CPU */
--
1.8.3.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin "Longpeng(Mike)" <longpeng2@huawei.com> - 2017-08-08 06:10 +0200
[PATCH v2 4/4] KVM: arm: implements the kvm_arch_vcpu_in_kernel() "Longpeng(Mike)" <longpeng2@huawei.com> - 2017-08-08 06:10 +0200
Re: [PATCH v2 4/4] KVM: arm: implements the kvm_arch_vcpu_in_kernel() Christoffer Dall <cdall@linaro.org> - 2017-08-08 09:40 +0200
Re: [PATCH v2 4/4] KVM: arm: implements the kvm_arch_vcpu_in_kernel() Christoffer Dall <christoffer.dall@linaro.org> - 2017-08-08 09:50 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin Cornelia Huck <cohuck@redhat.com> - 2017-08-08 09:50 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-08-08 10:20 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin Eric Farman <farman@linux.vnet.ibm.com> - 2017-08-10 15:20 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-08-11 03:50 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin Cornelia Huck <cohuck@redhat.com> - 2017-08-11 09:30 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin David Hildenbrand <david@redhat.com> - 2017-08-08 13:30 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin Christoffer Dall <christoffer.dall@linaro.org> - 2017-08-08 13:40 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-08-08 13:50 +0200
Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin David Hildenbrand <david@redhat.com> - 2017-08-08 14:00 +0200
csiph-web