Re: [PATCH v6 55/60] i386/tdx: Fetch and validate CPUID of TD guest

2025-01-14 Thread Xiaoyao Li
On 12/13/2024 1:52 AM, Ira Weiny wrote: On Tue, Nov 05, 2024 at 01:24:03AM -0500, Xiaoyao Li wrote: Use KVM_TDX_GET_CPUID to get the CPUIDs that are managed and enfored by TDX module for TD guest. Check QEMU's configuration against the fetched data. Print wanring message when 1. a feature is n

Re: [PATCH v6 55/60] i386/tdx: Fetch and validate CPUID of TD guest

2024-12-12 Thread Ira Weiny
On Tue, Nov 05, 2024 at 01:24:03AM -0500, Xiaoyao Li wrote: > Use KVM_TDX_GET_CPUID to get the CPUIDs that are managed and enfored > by TDX module for TD guest. Check QEMU's configuration against the > fetched data. > > Print wanring message when 1. a feature is not supported but requested > by Q

[PATCH v6 55/60] i386/tdx: Fetch and validate CPUID of TD guest

2024-11-05 Thread Xiaoyao Li
Use KVM_TDX_GET_CPUID to get the CPUIDs that are managed and enfored by TDX module for TD guest. Check QEMU's configuration against the fetched data. Print wanring message when 1. a feature is not supported but requested by QEMU or 2. QEMU doesn't want to expose a feature while it is enforced ena