qemu/target/i386
Xiaoyao Li f9aaad3362 i386/tdx: Only configure MSR_IA32_UCODE_REV in kvm_init_msrs() for TDs
For TDs, only MSR_IA32_UCODE_REV in kvm_init_msrs() can be configured
by VMM, while the features enumerated/controlled by other MSRs except
MSR_IA32_UCODE_REV in kvm_init_msrs() are not under control of VMM.

Only configure MSR_IA32_UCODE_REV for TDs.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250508150002.689633-41-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-28 19:35:54 +02:00
..
emulate target/i386/emulate: more lflags cleanups 2025-05-27 19:21:19 +02:00
hvf i386/hvf: Make CPUID_HT supported 2025-05-20 08:04:18 +02:00
kvm i386/tdx: Only configure MSR_IA32_UCODE_REV in kvm_init_msrs() for TDs 2025-05-28 19:35:54 +02:00
nvmm qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
tcg target/i386: implement TSS trap bit 2025-05-12 17:48:32 +02:00
whpx qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
arch_dump.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
arch_memory_mapping.c exec/cpu-all: remove system/memory include 2025-04-23 15:04:57 -07:00
confidential-guest.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
confidential-guest.h i386/cpu: introduce x86_confidential_guest_cpu_instance_init() 2025-05-28 19:35:54 +02:00
cpu-apic.c include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00
cpu-dump.c target/i386: remove CC_OP_CLR 2024-10-31 18:28:33 +01:00
cpu-internal.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 2025-04-23 15:07:32 -07:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu-system.c qapi: Move include/qapi/qmp/ to include/qobject/ 2025-02-10 15:33:16 +01:00
cpu.c i386/cpu: Introduce enable_cpuid_0x1f to force exposing CPUID 0x1f 2025-05-28 19:35:54 +02:00
cpu.h i386/cpu: Introduce enable_cpuid_0x1f to force exposing CPUID 0x1f 2025-05-28 19:35:54 +02:00
gdbstub.c target/i386/gdbstub: Expose orig_ax 2024-10-13 10:05:51 -07:00
helper.c tcg: Define INSN_START_WORDS as constant 3 2025-05-01 07:37:13 -07:00
helper.h target/i386: optimize computation of ZF from CC_OP_DYNAMIC 2024-10-31 18:28:33 +01:00
host-cpu.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
host-cpu.h accel-cpu: make cpu_realizefn return a bool 2021-05-10 15:41:50 -04:00
Kconfig i386: select correct components for no-board build 2024-05-10 15:45:15 +02:00
machine.c include/exec: Split out watchpoint.h 2025-04-23 14:08:36 -07:00
meson.build target/i386: add a directory for x86 instruction emulator 2025-04-17 18:23:26 +02:00
monitor.c qapi: Move include/qapi/qmp/ to include/qobject/ 2025-02-10 15:33:16 +01:00
ops_sse.h target/i386: set CC_OP in helpers if they want CC_OP_EFLAGS 2024-05-25 13:28:01 +02:00
sev-system-stub.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
sev.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
sev.h target/i386/sev: Reduce system specific declarations 2024-12-20 17:44:56 +01:00
svm.h target/i386: check intercept for XSETBV 2023-10-17 15:20:53 +02:00
trace-events target/i386/sev: Use size_t for object sizes 2024-06-28 19:26:54 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
xsave_helper.c exec/cpu-all: remove tswap include 2025-04-23 15:04:57 -07:00