From: Borislav Petkov <bp@alien8.de>
To: KVM <kvm@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
"Janakarajan Natarajan" <Janakarajan.Natarajan@amd.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Radim Krčmář" <rkrcmar@redhat.com>
Subject: [PATCH] KVM: SVM: Do not issue virtual VMLOAD/VMSAVE supported-message
Date: Tue, 5 Sep 2017 19:06:28 +0200 [thread overview]
Message-ID: <20170905170628.10211-1-bp@alien8.de> (raw)
From: Borislav Petkov <bp@suse.de>
There's no need to issue that everytime during boot - we have the
/proc/cpuinfo flag for people and software to query.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
---
arch/x86/kvm/svm.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 8dbd8dbc83eb..f25e5b930932 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1101,11 +1101,8 @@ static __init int svm_hardware_setup(void)
if (vls) {
if (!npt_enabled ||
!boot_cpu_has(X86_FEATURE_V_VMSAVE_VMLOAD) ||
- !IS_ENABLED(CONFIG_X86_64)) {
+ !IS_ENABLED(CONFIG_X86_64))
vls = false;
- } else {
- pr_info("Virtual VMLOAD VMSAVE supported\n");
- }
}
return 0;
--
2.13.0
next reply other threads:[~2017-09-05 17:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 17:06 Borislav Petkov [this message]
2017-09-06 12:54 ` [PATCH] KVM: SVM: Do not issue virtual VMLOAD/VMSAVE supported-message David Hildenbrand
2017-09-06 13:17 ` Borislav Petkov
2017-09-06 14:00 ` David Hildenbrand
2017-09-06 15:28 ` Borislav Petkov
2017-09-13 14:06 ` Radim Krčmář
2017-09-13 21:31 ` Paolo Bonzini
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=20170905170628.10211-1-bp@alien8.de \
--to=bp@alien8.de \
--cc=Janakarajan.Natarajan@amd.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@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