summaryrefslogtreecommitdiff
path: root/exec-obsolete.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec-obsolete.h')
-rw-r--r--exec-obsolete.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec-obsolete.h b/exec-obsolete.h
index c09925610d..286e2f75e1 100644
--- a/exec-obsolete.h
+++ b/exec-obsolete.h
@@ -24,6 +24,7 @@
#endif
#ifndef CONFIG_USER_ONLY
+#include "hw/xen.h"
ram_addr_t qemu_ram_alloc_from_ptr(ram_addr_t size, void *host,
MemoryRegion *mr);
@@ -111,6 +112,7 @@ static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start,
for (addr = start; addr < end; addr += TARGET_PAGE_SIZE) {
cpu_physical_memory_set_dirty_flags(addr, dirty_flags);
}
+ xen_modified_memory(addr, length);
}
static inline void cpu_physical_memory_mask_dirty_range(ram_addr_t start,