aboutsummaryrefslogtreecommitdiff
path: root/savevm.c
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 /savevm.c
parent3763f26f2fdff156fec6868b651fe7853fc64de5 (diff)
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 'savevm.c')
-rw-r--r--savevm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/savevm.c b/savevm.c
index b72f6c0d17..f153c25419 100644
--- a/savevm.c
+++ b/savevm.c
@@ -2002,7 +2002,7 @@ void do_savevm(Monitor *mon, const QDict *qdict)
int ret;
QEMUFile *f;
int saved_vm_running;
- uint32_t vm_state_size;
+ uint64_t vm_state_size;
#ifdef _WIN32
struct _timeb tb;
struct tm *ptm;