summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/graphic/1796
blob: 40c9e959b044b3356f459ab04c3a1420dff3685c (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
27
28
29
graphic: 0.911
device: 0.788
mistranslation: 0.669
semantic: 0.585
assembly: 0.524
instruction: 0.514
network: 0.451
other: 0.303
socket: 0.300
vnc: 0.291
KVM: 0.268
boot: 0.257

qemu-img does not accept backing image file path, only file name
Description of problem:
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.
Steps to 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
```