[Bug 1524546] Re: qemu-img rebase error message mentions wrong file name

2024-06-01 Thread Anchal Nigam
What to do if the old file has been moved? Say the backing file was /path/to/os.qcow2 and it was moved to /new/path/to/os.qcow2. How can we tell snapshot.qcow2 to update the backing file from /path/to/os.qcow2 to /new/path/to/os.qcow2? -- You received this bug notification because you are a

[Qemu-devel] [Bug 1524546] Re: qemu-img rebase error message mentions wrong file name

2018-05-11 Thread Max Reitz
The full story is that in 2015, qemu probably did not note that it failed to open the overlay () because it failed to open the backing file. It does that, now, though: $ qemu-img rebase -b new.qcow2 top.qcow2 qemu-img: Could not open 'top.qcow2': Could not open backing file: Could not open

[Qemu-devel] [Bug 1524546] Re: qemu-img rebase error message mentions wrong file name

2017-01-19 Thread Elaye Karstadt
I'm pretty sure this is working as intended. If you observe the code, qemu-img first opens filename. When qemu opens a file, it needs full access to it's chain of backing files - Hence, if the old backing file does not exist, opening filename fails. (Not an active qemu dev, just passing