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 <xiaoyao...@intel.com>
> 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,
>   - 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
> configuration interfaces of 'cpu' for TD's attributes.
> 
> Signed-off-by: Xiaoyao Li <xiaoyao...@intel.com>
> Acked-by: Gerd Hoffmann <kra...@redhat.com>
> ---
>  target/i386/kvm/tdx.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

Reviewed-by: Zhao Liu <zhao1....@intel.com>


Reply via email to