Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: Bugfix 'format' and 'snapshot' used in drive option
When use -drive file='xxx',format=qcow2,snapshot=on the error message "Can't use snapshot=on with driver-specific options" can be show, and fail to start the qemu. This should not be happened, and there is no file.driver option in qemu command line. It is because the commit 74fe54f, it puts 'driver' option if the command line use 'format' option. This patch is to solve this bug. Signed-off-by: Mike Qiu <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
- Loading branch information