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 ... `, cannot be a file path, but must be a file name. and 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"