diff options
| author | John Snow | 2017-07-18 02:34:21 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2017-07-18 15:27:20 +0200 |
| commit | 2a32c6e82ed24d837ce7af346ffc93113f0164b5 (patch) | |
| tree | 7eed094eec1053c889ff149c411ccb904abb2c41 /include/exec | |
| parent | block/vvfat: Fix compiler warning with gcc 7 (diff) | |
| download | qemu-2a32c6e82ed24d837ce7af346ffc93113f0164b5.tar.gz qemu-2a32c6e82ed24d837ce7af346ffc93113f0164b5.tar.xz qemu-2a32c6e82ed24d837ce7af346ffc93113f0164b5.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
