diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-03-18 13:08:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-03-19 11:48:36 +0100 |
commit | acdfb480ba7e2779bdbffb5280cf12ff6e43669c (patch) | |
tree | d63aafdf6d124d456a40ebbe61cd0432890ec46a /block/qcow2.h | |
parent | fca23f0ad211e4debf80796a65165d0eea146424 (diff) |
qcow2: Fix segfault in qcow2_invalidate_cache
Need to pass an options QDict to qcow2_open() now. This fixes a segfault
on the migration target with qcow2.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2.h')
-rw-r--r-- | block/qcow2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/block/qcow2.h b/block/qcow2.h index 103abdb2c0..e4b5e11a91 100644 --- a/block/qcow2.h +++ b/block/qcow2.h @@ -58,6 +58,9 @@ #define DEFAULT_CLUSTER_SIZE 65536 + +#define QCOW2_OPT_LAZY_REFCOUNTS "lazy_refcounts" + typedef struct QCowHeader { uint32_t magic; uint32_t version; |