From c2c9a46609164a36b477f6cff1d10ed27a6b53fc Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Wed, 16 Nov 2011 11:35:54 +0100 Subject: 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 --- savevm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'savevm.c') 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; -- cgit v1.2.3