All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: SVM: Do not issue virtual VMLOAD/VMSAVE supported-message
@ 2017-09-05 17:06 Borislav Petkov
  2017-09-06 12:54 ` David Hildenbrand
  2017-09-13 14:06 ` Radim Krčmář
  0 siblings, 2 replies; 7+ messages in thread
From: Borislav Petkov @ 2017-09-05 17:06 UTC (permalink / raw)
  To: KVM
  Cc: LKML, Janakarajan Natarajan, Paolo Bonzini, Radim Krčmář

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-09-13 21:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-05 17:06 [PATCH] KVM: SVM: Do not issue virtual VMLOAD/VMSAVE supported-message Borislav Petkov
2017-09-06 12:54 ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.