]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/sysemu/dump.h
dump: add API to write dump pages
[mirror_qemu.git] / include / sysemu / dump.h
index 92a95e4b92486c19d39d29e77c8e2abbd77136e9..efab7a32f3b9ee79979bd5a9155f8610576d80a0 100644 (file)
@@ -151,6 +151,13 @@ typedef struct DataCache {
     off_t offset;       /* offset of the file */
 } DataCache;
 
+typedef struct QEMU_PACKED PageDescriptor {
+    uint64_t offset;                /* the offset of the page data*/
+    uint32_t size;                  /* the size of this dump page */
+    uint32_t flags;                 /* flags */
+    uint64_t page_flags;            /* page flags */
+} PageDescriptor;
+
 struct GuestPhysBlockList; /* memory_mapping.h */
 int cpu_get_dump_info(ArchDumpInfo *info,
                       const struct GuestPhysBlockList *guest_phys_blocks);