2
0

xen-save-devices-state.txt 998 B

123456789101112131415161718192021222324252627282930313233
  1. = Save Devices =
  2. QEMU has code to load/save the state of the guest that it is running.
  3. These are two complementary operations. Saving the state just does
  4. that, saves the state for each device that the guest is running.
  5. These operations are normally used with migration (see migration.txt),
  6. however it is also possible to save the state of all devices to file,
  7. without saving the RAM or the block devices of the VM.
  8. The save operation is available as QMP command xen-save-devices-state.
  9. The binary format used in the file is the following:
  10. -------------------------------------------
  11. 32 bit big endian: QEMU_VM_FILE_MAGIC
  12. 32 bit big endian: QEMU_VM_FILE_VERSION
  13. for_each_device
  14. {
  15. 8 bit: QEMU_VM_SECTION_FULL
  16. 32 bit big endian: section_id
  17. 8 bit: idstr (ID string) length
  18. string: idstr (ID string)
  19. 32 bit big endian: instance_id
  20. 32 bit big endian: version_id
  21. buffer: device specific data
  22. }
  23. 8 bit: QEMU_VM_EOF