mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
commit
33cf629a37
9 changed files with 278 additions and 12 deletions
34
docs/xen-save-devices-state.txt
Normal file
34
docs/xen-save-devices-state.txt
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue