Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1706114
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 2/4] KVM: X86: implement the logic for spinlock optimization |
| Date | 2017-08-08 09:40 +0200 |
| Message-ID | <uc7ho-4KD-29@gated-at.bofh.it> (permalink) |
| References | <uc409-2u9-11@gated-at.bofh.it> <uc409-2u9-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 08/08/2017 06:05, Longpeng(Mike) wrote:
> diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
> index cd0e6e6..dec5e8a 100644
> --- a/arch/x86/kvm/hyperv.c
> +++ b/arch/x86/kvm/hyperv.c
> @@ -1268,7 +1268,7 @@ int kvm_hv_hypercall(struct kvm_vcpu *vcpu)
>
> switch (code) {
> case HVCALL_NOTIFY_LONG_SPIN_WAIT:
> - kvm_vcpu_on_spin(vcpu, kvm_arch_vcpu_in_kernel(vcpu));
> + kvm_vcpu_on_spin(vcpu, kvm_x86_ops->spin_in_kernel(vcpu));
> break;
> case HVCALL_POST_MESSAGE:
> case HVCALL_SIGNAL_EVENT:
This can be true as well. I can change this on commit.
Paolo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 2/4] KVM: X86: implement the logic for spinlock optimization "Longpeng(Mike)" <longpeng2@huawei.com> - 2017-08-08 06:10 +0200
Re: [PATCH v2 2/4] KVM: X86: implement the logic for spinlock optimization Paolo Bonzini <pbonzini@redhat.com> - 2017-08-08 09:40 +0200
Re: [PATCH v2 2/4] KVM: X86: implement the logic for spinlock optimization "Longpeng (Mike)" <longpeng2@huawei.com> - 2017-08-08 10:40 +0200
Re: [PATCH v2 2/4] KVM: X86: implement the logic for spinlock optimization Paolo Bonzini <pbonzini@redhat.com> - 2017-08-08 10:40 +0200
csiph-web