Re: [PATCH v8 33/55] i386/cpu: Introduce enable_cpuid_0x1f to force exposing CPUID 0x1f

2025-04-29 Thread Zhao Liu
On Tue, Apr 01, 2025 at 09:01:43AM -0400, Xiaoyao Li wrote: > Date: Tue, 1 Apr 2025 09:01:43 -0400 > From: Xiaoyao Li > Subject: [PATCH v8 33/55] i386/cpu: Introduce enable_cpuid_0x1f to force > exposing CPUID 0x1f > X-Mailer: git-send-email 2.34.1 > > Currently, QEMU

[PATCH v8 33/55] i386/cpu: Introduce enable_cpuid_0x1f to force exposing CPUID 0x1f

2025-04-01 Thread Xiaoyao Li
Currently, QEMU exposes CPUID 0x1f to guest only when necessary, i.e., when topology level that cannot be enumerated by leaf 0xB, e.g., die or module level, are configured for the guest, e.g., -smp xx,dies=2. However, TDX architecture forces to require CPUID 0x1f to configure CPU topology. Introd