aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorReinoud Zandijk <reinoud@NetBSD.org>2021-04-02 22:25:34 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-05-04 14:15:34 +0200
commitb9bc6169dee36186237f898b41f48956f59a01b1 (patch)
treefd1af237958448f972cbeb10871ceca47629b1ea /target
parentfdc8635e870b7396a8e2fe4fadfdbec0060d5ef4 (diff)
Add NVMM accelerator: acceleration enlightenments
Signed-off-by: Kamil Rytarowski <kamil@NetBSD.org> Signed-off-by: Reinoud Zandijk <reinoud@NetBSD.org> Message-Id: <20210402202535.11550-4-reinoud@NetBSD.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/i386/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/helper.c b/target/i386/helper.c
index 618ad1c409..8c180b5b2b 100644
--- a/target/i386/helper.c
+++ b/target/i386/helper.c
@@ -495,7 +495,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()) {
+ if (kvm_enabled() || whpx_enabled() || nvmm_enabled()) {
env->tpr_access_type = access;
cpu_interrupt(cs, CPU_INTERRUPT_TPR);