summary refs log tree commit diff stats
path: root/accel/tcg/internal-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel/tcg/internal-common.h')
-rw-r--r--accel/tcg/internal-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/internal-common.h b/accel/tcg/internal-common.h
index cbeff39e3e..cff43d221b 100644
--- a/accel/tcg/internal-common.h
+++ b/accel/tcg/internal-common.h
@@ -35,7 +35,7 @@ static inline bool cpu_in_serial_context(CPUState *cs)
 static inline bool cpu_plugin_mem_cbs_enabled(const CPUState *cpu)
 {
 #ifdef CONFIG_PLUGIN
-    return !!cpu->plugin_mem_cbs;
+    return !!cpu->neg.plugin_mem_cbs;
 #else
     return false;
 #endif