]> git.proxmox.com Git - mirror_qemu.git/blobdiff - memory.h
memory: transaction API
[mirror_qemu.git] / memory.h
index c280a39d2cf8c93cde31f84665ed69e808fd7fe8..4e518b2a1b0fa959f1e5e57c088c131aa6212fd3 100644 (file)
--- a/memory.h
+++ b/memory.h
@@ -456,6 +456,14 @@ void memory_region_add_subregion_overlap(MemoryRegion *mr,
 void memory_region_del_subregion(MemoryRegion *mr,
                                  MemoryRegion *subregion);
 
+/* Start a transaction; changes will be accumulated and made visible only
+ * when the transaction ends.
+ */
+void memory_region_transaction_begin(void);
+/* Commit a transaction and make changes visible to the guest.
+ */
+void memory_region_transaction_commit(void);
+
 #endif
 
 #endif