Project

General

Profile

Actions

action #38822

closed

Qemu: Could not open backing file: Cannot reference an existing block device with additional options or a new filename

Added by rpalethorpe over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
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.


Related issues 1 (0 open1 closed)

Copied from openQA Project - action #38813: Qemu backend rewrite falloutResolvedrpalethorpe2018-07-25

Actions
Actions #1

Updated by rpalethorpe over 5 years ago

Actions #2

Updated by rpalethorpe over 5 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.

Actions #4

Updated by rpalethorpe over 5 years ago

  • Status changed from New to Feedback
  • Assignee set to rpalethorpe
Actions #5

Updated by rpalethorpe over 5 years ago

  • Status changed from Feedback to Resolved
Actions #6

Updated by szarate over 5 years ago

  • Target version changed from Current Sprint to Done
Actions

Also available in: Atom PDF