From: Philippe Mathieu-Daudé <[email protected]>

HVF should be able to handle task priority register accesses.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
 target/i386/helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/helper.c b/target/i386/helper.c
index 30f1fa41b32..c3cba04e142 100644
--- a/target/i386/helper.c
+++ b/target/i386/helper.c
@@ -566,7 +566,7 @@ void cpu_report_tpr_access(CPUX86State *env, TPRAccess 
access)
     X86CPU *cpu = env_archcpu(env);
     CPUState *cs = env_cpu(env);
 
-    if (kvm_enabled() || whpx_enabled() || nvmm_enabled()) {
+    if (kvm_enabled() || whpx_enabled() || nvmm_enabled() || hvf_enabled()) {
         env->tpr_access_type = access;
 
         cpu_interrupt(cs, CPU_INTERRUPT_TPR);
-- 
2.53.0


Reply via email to