aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2011-11-16 11:35:54 +0100
committerKevin Wolf <kwolf@redhat.com>2011-12-15 12:40:33 +0100
commitc2c9a46609164a36b477f6cff1d10ed27a6b53fc (patch)
tree7cf3cf48bcc3e87a93457b5bb5ef9a7cc468ca2e /block/qcow2.h
parent3763f26f2fdff156fec6868b651fe7853fc64de5 (diff)
downloadqemu-c2c9a46609164a36b477f6cff1d10ed27a6b53fc.zip
qemu-c2c9a46609164a36b477f6cff1d10ed27a6b53fc.tar.gz
qemu-c2c9a46609164a36b477f6cff1d10ed27a6b53fc.tar.bz2
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>
Diffstat (limited to 'block/qcow2.h')
-rw-r--r--block/qcow2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qcow2.h b/block/qcow2.h
index 4e44eea..99e4536 100644
--- a/block/qcow2.h
+++ b/block/qcow2.h
@@ -78,7 +78,7 @@ typedef struct QCowSnapshot {
uint32_t l1_size;
char *id_str;
char *name;
- uint32_t vm_state_size;
+ uint64_t vm_state_size;
uint32_t date_sec;
uint32_t date_nsec;
uint64_t vm_clock_nsec;