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/vmx.c | |
parent | dfa20099e26e35cd9e83d4d43172615c73c4e9f5 (diff) | |
download | lwn-b2a05feff274e007abd7cda0d2cdae7fdf5cbb0a.tar.gz lwn-b2a05feff274e007abd7cda0d2cdae7fdf5cbb0a.zip |
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/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4253adef9044..09204993a739 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -5012,7 +5012,7 @@ static void vmx_disable_intercept_msr_x2apic(u32 msr, int type, bool apicv_activ } } -static bool vmx_get_enable_apicv(void) +static bool vmx_get_enable_apicv(struct kvm_vcpu *vcpu) { return enable_apicv; } |