summaryrefslogtreecommitdiff
path: root/emulators/qemu/patches/patch-target_i386_helper.c
blob: 4647e96d5c8fe675a9f8eb83e9adadb1ce2a2062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-target_i386_helper.c,v 1.3 2021/03/06 11:19:34 reinoud Exp $

--- target/i386/helper.c.orig	2020-12-08 16:59:44.000000000 +0000
+++ target/i386/helper.c
@@ -1008,7 +1008,7 @@ void cpu_report_tpr_access(CPUX86State *
     X86CPU *cpu = env_archcpu(env);
     CPUState *cs = env_cpu(env);
 
-    if (kvm_enabled() || whpx_enabled()) {
+    if (kvm_enabled() || whpx_enabled() || nvmm_enabled()) {
         env->tpr_access_type = access;
 
         cpu_interrupt(cs, CPU_INTERRUPT_TPR);