Commit 28a4aa11 authored by Paolo Bonzini's avatar Paolo Bonzini

KVM: SVM: make the avic parameter a bool

Make it consistent with kvm_intel.enable_apicv.
Suggested-by: default avatarSean Christopherson <seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 377872b3
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
#include "svm.h" #include "svm.h"
/* enable / disable AVIC */ /* enable / disable AVIC */
int avic; bool avic;
module_param(avic, int, S_IRUGO); module_param(avic, bool, S_IRUGO);
#define SVM_AVIC_DOORBELL 0xc001011b #define SVM_AVIC_DOORBELL 0xc001011b
......
...@@ -479,7 +479,7 @@ extern struct kvm_x86_nested_ops svm_nested_ops; ...@@ -479,7 +479,7 @@ extern struct kvm_x86_nested_ops svm_nested_ops;
#define VMCB_AVIC_APIC_BAR_MASK 0xFFFFFFFFFF000ULL #define VMCB_AVIC_APIC_BAR_MASK 0xFFFFFFFFFF000ULL
extern int avic; extern bool avic;
static inline void avic_update_vapic_bar(struct vcpu_svm *svm, u64 data) static inline void avic_update_vapic_bar(struct vcpu_svm *svm, u64 data)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment