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>
This commit is contained in:

committed by
Radim Krčmář

parent
dfa20099e2
commit
b2a05feff2
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user