diff options
author | Evgeny Voevodin <e.voevodin@samsung.com> | 2012-06-08 13:45:29 +0400 |
---|---|---|
committer | Evgeny Voevodin <e.voevodin@samsung.com> | 2012-06-15 11:21:10 +0400 |
commit | 02935a553fb88f79fb0c79f094fb5ca0b42c96f3 (patch) | |
tree | 7a317e392c43f920faa1044cdb3df4c75b2c3639 /docs/xen-save-devices-state.txt | |
parent | 5b1adc390502140a03bc1e872b0b103d09e048f6 (diff) | |
download | qemu-02935a553fb88f79fb0c79f094fb5ca0b42c96f3.tar.gz qemu-02935a553fb88f79fb0c79f094fb5ca0b42c96f3.tar.bz2 qemu-02935a553fb88f79fb0c79f094fb5ca0b42c96f3.zip |
Upgrade to upstream v1.1.0.
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Diffstat (limited to 'docs/xen-save-devices-state.txt')
-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 0000000000..92e08dbf6a --- /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 |