Thread (83 messages) 83 messages, 3 authors, 2020-09-08

Re: [PATCH v7 36/72] x86/sev-es: Add SEV-ES Feature Detection

From: Borislav Petkov <bp@alien8.de>
Date: 2020-09-07 21:03:03
Also in: kvm, lkml

On Mon, Sep 07, 2020 at 03:15:37PM +0200, Joerg Roedel wrote:
quoted hunk ↗ jump to hunk
@@ -347,7 +348,13 @@ bool sme_active(void)
 
 bool sev_active(void)
 {
-	return sme_me_mask && sev_enabled;
+	return !!(sev_status & MSR_AMD64_SEV_ENABLED);
Dropped those "!!" here too while applying.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help