From: Oliver Upton <oupton@google.com>
To: kvm@vger.kernel.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Jim Mattson <jmattson@google.com>,
Oliver Upton <oupton@google.com>
Subject: [PATCH v2 2/2] KVM: SVM: Enable AVIC by default
Date: Fri, 28 Feb 2020 00:59:05 -0800 [thread overview]
Message-ID: <20200228085905.22495-2-oupton@google.com> (raw)
In-Reply-To: <20200228085905.22495-1-oupton@google.com>
Switch the default value of the 'avic' module parameter to 1.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Oliver Upton <oupton@google.com>
---
arch/x86/kvm/svm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index b82a500bccb7..70d2df13eb02 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -358,7 +358,7 @@ static int nested = true;
module_param(nested, int, S_IRUGO);
/* enable / disable AVIC */
-static int avic;
+static int avic = 1;
#ifdef CONFIG_X86_LOCAL_APIC
module_param(avic, int, S_IRUGO);
#endif
--
2.25.1.481.gfbce0eb801-goog
next prev parent reply other threads:[~2020-02-28 8:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-28 8:59 [PATCH v2 1/2] KVM: SVM: Inhibit APIC virtualization for X2APIC guest Oliver Upton
2020-02-28 8:59 ` Oliver Upton [this message]
2020-02-28 19:40 ` [PATCH v2 2/2] KVM: SVM: Enable AVIC by default Jim Mattson
2020-02-28 22:47 ` Wei Huang
2020-03-02 16:19 ` Paolo Bonzini
2020-03-02 17:11 ` Wei Huang
2020-03-02 17:35 ` Paolo Bonzini
2020-03-02 17:40 ` Jim Mattson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200228085905.22495-2-oupton@google.com \
--to=oupton@google.com \
--cc=jmattson@google.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox