diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2014-03-11 17:42:41 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-13 14:42:24 +0100 |
| commit | d475e5acd2f4679d6ce458369ee658dbd60227e9 (patch) | |
| tree | 42526d3074546b05125afe76f03f45d8f641eb33 /qemu-io-cmds.c | |
| parent | dc3dd0d2bed6edf3b60041f31200c674348168e9 (diff) | |
| download | focaccia-qemu-d475e5acd2f4679d6ce458369ee658dbd60227e9.tar.gz focaccia-qemu-d475e5acd2f4679d6ce458369ee658dbd60227e9.zip | |
qcow2: Keep option in qcow2_invalidate_cache()
Instead of manually building a list of all options from BDRVQcowState values just reuse the options that were used to open the image. qcow2_open() won't fully use all of the options in the QDict, but that's okay. This fixes all of the driver-specific options in qcow2, except for lazy-refcounts, which was special cased before. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions