On Tue, Apr 01, 2025 at 09:01:21AM -0400, Xiaoyao Li wrote:
> Date: Tue, 1 Apr 2025 09:01:21 -0400
> From: Xiaoyao Li
> Subject: [PATCH v8 11/55] i386/tdx: Wire CPU features up with attributes of
> TD guest
> X-Mailer: git-send-email 2.34.1
>
> For QEMU VMs,
>
On Tue, Apr 01, 2025 at 09:01:21AM -0400, Xiaoyao Li wrote:
> For QEMU VMs,
> - PKS is configured via CPUID_7_0_ECX_PKS, e.g., -cpu xxx,+pks and
> - PMU is configured by x86cpu->enable_pmu, e.g., -cpu xxx,pmu=on
>
> While the bit 30 (PKS) and bit 63 (PERFMON) of TD's attributes are also
> use
For QEMU VMs,
- PKS is configured via CPUID_7_0_ECX_PKS, e.g., -cpu xxx,+pks and
- PMU is configured by x86cpu->enable_pmu, e.g., -cpu xxx,pmu=on
While the bit 30 (PKS) and bit 63 (PERFMON) of TD's attributes are also
used to configure the PKS and PERFMON/PMU of TD, reuse the existing
configu