qcow2: Fix segfault in qcow2_invalidate_cache
commitacdfb480ba7e2779bdbffb5280cf12ff6e43669c
authorKevin Wolf <kwolf@redhat.com>
Mon, 18 Mar 2013 12:08:10 +0000 (18 13:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 19 Mar 2013 10:48:36 +0000 (19 11:48 +0100)
treed63aafdf6d124d456a40ebbe61cd0432890ec46a
parentfca23f0ad211e4debf80796a65165d0eea146424
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>
block/qcow2.c
block/qcow2.h