Messages in this thread | | | From | "Huang, Kai" <> | Subject | Re: [PATCH v11 02/20] x86/virt/tdx: Detect TDX during kernel boot | Date | Tue, 6 Jun 2023 22:58:40 +0000 |
| |
On Tue, 2023-06-06 at 07:00 -0700, Sathyanarayanan Kuppuswamy wrote: > > + if (nr_tdx_keyids < 2) { > > + pr_info("initialization failed: too few private KeyIDs > > available.\n"); > > + goto no_tdx; > > I think you can return -ENODEV directly here. Maybe this goto is added to > adapt to next > patches. But for this patch, I don't think you need it.
OK I can do. Thanks.
| |