summary refs log tree commit diff stats
path: root/include/qemu/plugin-memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/plugin-memory.h')
-rw-r--r--include/qemu/plugin-memory.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/qemu/plugin-memory.h b/include/qemu/plugin-memory.h
index 43165f2452..71c1123308 100644
--- a/include/qemu/plugin-memory.h
+++ b/include/qemu/plugin-memory.h
@@ -15,15 +15,8 @@
 struct qemu_plugin_hwaddr {
     bool is_io;
     bool is_store;
-    union {
-        struct {
-            MemoryRegionSection *section;
-            hwaddr    offset;
-        } io;
-        struct {
-            void *hostaddr;
-        } ram;
-    } v;
+    hwaddr phys_addr;
+    MemoryRegion *mr;
 };
 
 /**