diff options
author | John Snow <jsnow@redhat.com> | 2017-07-17 20:34:21 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-07-18 15:27:20 +0200 |
commit | 2a32c6e82ed24d837ce7af346ffc93113f0164b5 (patch) | |
tree | 7eed094eec1053c889ff149c411ccb904abb2c41 /cpus-common.c | |
parent | 7c8730d45f63b76588da5ea0d4eff73a0bcae188 (diff) |
blockdev: move BDRV_O_NO_BACKING option forward
For both external_snapshot_prepare and qmp_drive_mirror, we eventually
append the option BDRV_O_NO_BACKING. However, we generally do so after
we create the image.
To accommodate image creation wanting to verify that a backing file
exists or not, add this option prior to create to override checking
the existence of the backing file. This prevents QEMU from trying to
re-open a backing file that's already in use (thanks to qcow2 locking).
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cpus-common.c')
0 files changed, 0 insertions, 0 deletions