OSDN Git Service

KVM: x86: Use KBUILD_MODNAME to specify vendor module name
authorSean Christopherson <seanjc@google.com>
Wed, 30 Nov 2022 23:09:17 +0000 (23:09 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Dec 2022 20:41:30 +0000 (15:41 -0500)
commit08a9d59c6ad95ea05369944f34eb59ff639cbbab
treeb8ce70d8264abf46b229a10dc41b93080be4c9e8
parent81a1cf9f89a6b71e71bfd7d43837ce9235e70b38
KVM: x86: Use KBUILD_MODNAME to specify vendor module name

Use KBUILD_MODNAME to specify the vendor module name instead of manually
writing out the name to make it a bit more obvious that the name isn't
completely arbitrary.  A future patch will also use KBUILD_MODNAME to
define pr_fmt, at which point using KBUILD_MODNAME for kvm_x86_ops.name
further reinforces the intended usage of kvm_x86_ops.name.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-34-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c