* [PATCH] KVM/SVM: Remove leftover __svm_vcpu_run prototype from svm.c
@ 2020-12-20 20:03 Uros Bizjak
2020-12-21 18:28 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Uros Bizjak @ 2020-12-20 20:03 UTC (permalink / raw)
To: kvm, linux-kernel; +Cc: Uros Bizjak, Tom Lendacky, Paolo Bonzini
Commit 16809ecdc1e8a moved __svm_vcpu_run the prototype to svm.h,
but forgot to remove the original from svm.c.
Fixes: 16809ecdc1e8a ("KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests")
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
---
arch/x86/kvm/svm/svm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c
index 941e5251e13f..2fa9726564af 100644
--- a/arch/x86/kvm/svm/svm.c
+++ b/arch/x86/kvm/svm/svm.c
@@ -3675,8 +3675,6 @@ static fastpath_t svm_exit_handlers_fastpath(struct kvm_vcpu *vcpu)
return EXIT_FASTPATH_NONE;
}
-void __svm_vcpu_run(unsigned long vmcb_pa, unsigned long *regs);
-
static noinstr void svm_vcpu_enter_exit(struct kvm_vcpu *vcpu,
struct vcpu_svm *svm)
{
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] KVM/SVM: Remove leftover __svm_vcpu_run prototype from svm.c
2020-12-20 20:03 [PATCH] KVM/SVM: Remove leftover __svm_vcpu_run prototype from svm.c Uros Bizjak
@ 2020-12-21 18:28 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2020-12-21 18:28 UTC (permalink / raw)
To: Uros Bizjak, kvm, linux-kernel; +Cc: Tom Lendacky
On 20/12/20 21:03, Uros Bizjak wrote:
> Commit 16809ecdc1e8a moved __svm_vcpu_run the prototype to svm.h,
> but forgot to remove the original from svm.c.
>
> Fixes: 16809ecdc1e8a ("KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests")
> Cc: Tom Lendacky <thomas.lendacky@amd.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
> ---
> arch/x86/kvm/svm/svm.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c
> index 941e5251e13f..2fa9726564af 100644
> --- a/arch/x86/kvm/svm/svm.c
> +++ b/arch/x86/kvm/svm/svm.c
> @@ -3675,8 +3675,6 @@ static fastpath_t svm_exit_handlers_fastpath(struct kvm_vcpu *vcpu)
> return EXIT_FASTPATH_NONE;
> }
>
> -void __svm_vcpu_run(unsigned long vmcb_pa, unsigned long *regs);
> -
> static noinstr void svm_vcpu_enter_exit(struct kvm_vcpu *vcpu,
> struct vcpu_svm *svm)
> {
>
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-21 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-20 20:03 [PATCH] KVM/SVM: Remove leftover __svm_vcpu_run prototype from svm.c Uros Bizjak
2020-12-21 18:28 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).