]> git.proxmox.com Git - qemu.git/blobdiff - exec-obsolete.h
exec, memory: Call to xen_modified_memory.
[qemu.git] / exec-obsolete.h
index c09925610d0ddc6c6bfdc2482e92310e137dbd40..286e2f75e1a55bf78d09d879e679df53274715b2 100644 (file)
@@ -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,