Read the whole thread, 14 messages PreviousNext Re: [PATCH V4 2/5] x86/hyper-v: Add hyperv Isolation VM check in the cc_platform_has() FromTianyu Lan <hidden> Date2021-12-06 14:14:12 Also inlinux-arch, linux-hyperv, linux-iommu, linux-scsi, lkml, xen-develReply toChristoph Hellwig, 2021-12-06 Hi Christoph: Thanks for your review. On 12/6/2021 10:06 PM, Christoph Hellwig wrote:On Sun, Dec 05, 2021 at 03:18:10AM -0500, Tianyu Lan wrote:quoted+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? Yes, I will update in the next version. Thanks.
Keyboard shortcuts hback out one level jnext message in thread / next series-diff position kprevious message in thread / previous series-diff position ldrill in Escclose help / fold thread tree ?toggle this help