Actions
action #38822
closedQemu: Could not open backing file: Cannot reference an existing block device with additional options or a new filename
Start date:
2018-07-25
Due date:
% Done:
0%
Estimated time:
Description
When trying to revert to a snapshot QEMU dies with the following error or something similar:
-blockdev driver=qcow2,node-name=hd0-overlay1,file=hd0-overlay1-file,cache.no-flush=on,backing=hd0: Could not open backing file: Cannot reference an existing block device with additional options or a new filename
The backing file is the hd0 block device which is specified on the command line. Possibly we should not specify block devices used as backing files on the command line and just allow them to be read from the overlay file. It is not clear what the expected usage is.
Updated by rpalethorpe about 6 years ago
- Copied from action #38813: Qemu backend rewrite fallout added
Updated by rpalethorpe about 6 years ago
Looking at qemu/block.c I suspect we can only specify options (e.g. cache.no-flush=on) on one of the blockdevices in the chain.
Updated by rpalethorpe about 6 years ago
Updated by rpalethorpe about 6 years ago
- Status changed from New to Feedback
- Assignee set to rpalethorpe
Updated by rpalethorpe about 6 years ago
- Status changed from Feedback to Resolved
Updated by szarate about 6 years ago
- Target version changed from Current Sprint to Done
Actions