mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qcow2: Allow >4 GB VM state
This is a compatible extension to the snapshot header format that allows saving a 64 bit VM state size. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
3763f26f2f
commit
c2c9a46609
5 changed files with 42 additions and 6 deletions
2
block.h
2
block.h
|
@ -22,7 +22,7 @@ typedef struct QEMUSnapshotInfo {
|
|||
/* the following fields are informative. They are not needed for
|
||||
the consistency of the snapshot */
|
||||
char name[256]; /* user chosen name */
|
||||
uint32_t vm_state_size; /* VM state info size */
|
||||
uint64_t vm_state_size; /* VM state info size */
|
||||
uint32_t date_sec; /* UTC date of the snapshot */
|
||||
uint32_t date_nsec;
|
||||
uint64_t vm_clock_nsec; /* VM clock relative to boot */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue