blob: 662170a35f097a703e990e9a8ea3ff180df86d8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
id = 1796
title = "qemu-img does not accept backing image file path, only file name"
state = "closed"
created_at = "2023-07-28T05:41:49.997Z"
closed_at = "2023-07-28T12:52:51.847Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/1796"
host-os = "Fedora 37"
host-arch = "x86_64"
qemu-version = "`"
guest-os = "n/a"
guest-arch = "n/a"
description = """In `qemu-img create ... -b <backing_image> ... <snapshot_image>`, <backing_image> cannot be a file path, but must be a file name. <backing_image> and <snapshot_image> are forced to be in the same directory for the command to work."""
reproduce = """```
$ mkdir test
$ qemu-img create -f qcow2 test/a.img 1G
...
$ qemu-img create -f qcow2 -b test/a.img -F qcow2 test/a.img.snap
qemu-img: test/a.img.snap: Could not open 'test/test/a.img': No such file or directory
Could not open backing image.
$ qemu-img create -f qcow2 -b a.img -F qcow2 test/a.img.snap
...
$ ls test
a.img a.img.snap
```"""
additional = "n/a"
|