diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2017-09-12 10:42:41 -0500 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-09-13 18:29:06 +0200 |
commit | b2a05feff274e007abd7cda0d2cdae7fdf5cbb0a (patch) | |
tree | 7c6d455ad8bbbdfac781d99c7bc11becf9b67bc5 /arch/x86/kvm/svm.c | |
parent | dfa20099e26e35cd9e83d4d43172615c73c4e9f5 (diff) | |
download | linux-b2a05feff274e007abd7cda0d2cdae7fdf5cbb0a.tar.bz2 |
KVM: Add struct kvm_vcpu pointer parameter to get_enable_apicv()
Modify struct kvm_x86_ops.arch.apicv_active() to take struct kvm_vcpu
pointer as parameter in preparation to subsequent changes.
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index cab020acb509..76f559f5a3dd 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -4407,7 +4407,7 @@ static void svm_set_virtual_x2apic_mode(struct kvm_vcpu *vcpu, bool set) return; } -static bool svm_get_enable_apicv(void) +static bool svm_get_enable_apicv(struct kvm_vcpu *vcpu) { return avic; } |