Thread (14 messages) 14 messages, 3 authors, 2021-12-06

Re: [PATCH V4 2/5] x86/hyper-v: Add hyperv Isolation VM check in the cc_platform_has()

From: Christoph Hellwig <hch@lst.de>
Date: 2021-12-06 14:07:42
Also in: linux-arch, linux-hyperv, linux-iommu, linux-scsi, lkml, xen-devel

On Sun, Dec 05, 2021 at 03:18:10AM -0500, Tianyu Lan wrote:
+static bool hyperv_cc_platform_has(enum cc_attr attr)
+{
+#ifdef CONFIG_HYPERV
+	return attr == CC_ATTR_GUEST_MEM_ENCRYPT;
+#else
+	return false;
+#endif
+}
Can we even end up here without CONFIG_HYPERV?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help