target/i386: Report TPR accesses to HVF
HVF should be able to handle task priority register accesses. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Message-Id: <20250616090632.55214-1-philmd@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Philippe Mathieu-Daudé committed
Jun 16, 2025 at 10:38 UTC
1a738ec05d1286b74cc51d9ea371e39ef5933550
1 file changed
+1
-1
target/i386/helper.c
+1
-1
@@ -566,7 +566,7 @@ void cpu_report_tpr_access(CPUX86State *env, TPRAccess access)
566
X86CPU *cpu = env_archcpu(env);
567
CPUState *cs = env_cpu(env);
568
569
- if (kvm_enabled() || whpx_enabled() || nvmm_enabled()) {
569
+ if (kvm_enabled() || whpx_enabled() || nvmm_enabled() || hvf_enabled()) {
570
env->tpr_access_type = access;
571
572
cpu_interrupt(cs, CPU_INTERRUPT_TPR);