diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-19 13:39:42 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-19 13:39:42 -0500 |
commit | 33cf629a3754b58a1e2dbbe01d91d97e712b7c06 (patch) | |
tree | fcf874262294eba07fb2f9eca11d594096847679 /docs | |
parent | b85a4ec8a7ce348f3f385a53df4e418f2f54c182 (diff) | |
parent | c234572ded381423abca9801ebf5a32abd2495ef (diff) | |
download | qemu-33cf629a3754b58a1e2dbbe01d91d97e712b7c06.zip qemu-33cf629a3754b58a1e2dbbe01d91d97e712b7c06.tar.gz qemu-33cf629a3754b58a1e2dbbe01d91d97e712b7c06.tar.bz2 |
Merge remote-tracking branch 'sstabellini/saverestore-8' into staging
* sstabellini/saverestore-8:
xen: do not allocate RAM during INMIGRATE runstate
xen mapcache: check if memory region has moved.
xen: record physmap changes to xenstore
Set runstate to INMIGRATE earlier
Introduce "xen-save-devices-state"
cirrus_vga: do not reset videoram
Conflicts:
qapi-schema.json
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/xen-save-devices-state.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/xen-save-devices-state.txt b/docs/xen-save-devices-state.txt new file mode 100644 index 0000000..92e08db --- /dev/null +++ b/docs/xen-save-devices-state.txt @@ -0,0 +1,34 @@ += Save Devices = + +QEMU has code to load/save the state of the guest that it is running. +These are two complementary operations. Saving the state just does +that, saves the state for each device that the guest is running. + +These operations are normally used with migration (see migration.txt), +however it is also possible to save the state of all devices to file, +without saving the RAM or the block devices of the VM. + +This operation is called "xen-save-devices-state" (see +QMP/qmp-commands.txt) + + +The binary format used in the file is the following: + + +------------------------------------------- + +32 bit big endian: QEMU_VM_FILE_MAGIC +32 bit big endian: QEMU_VM_FILE_VERSION + +for_each_device +{ + 8 bit: QEMU_VM_SECTION_FULL + 32 bit big endian: section_id + 8 bit: idstr (ID string) length + string: idstr (ID string) + 32 bit big endian: instance_id + 32 bit big endian: version_id + buffer: device specific data +} + +8 bit: QEMU_VM_EOF |