virtio-gpu: move virtio-gpu-gl-device to separate module
[qemu/kevin.git] / tests / qemu-iotests / 228.out
blob8c82009abed140b1146aa4d6a4e7815b2bbc9cbf
1 --- Implicit backing file ---
3 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}}
4 {"return": {}}
6 bs->filename: TEST_DIR/PID-top.img
7 bs->backing_file: file:TEST_DIR/PID-base.img
8 bs->backing->bs->filename: TEST_DIR/PID-base.img
10 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}}
11 {"return": {}}
13 --- change-backing-file ---
15 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}}
16 {"return": {}}
17 {"execute": "change-backing-file", "arguments": {"backing-file": "null-co://", "device": "node0", "image-node-name": "node0"}}
18 {"return": {}}
20 bs->filename: json:{"backing": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-base.img"}}, "driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}}
21 bs->backing_file: null-co://
22 bs->backing->bs->filename: TEST_DIR/PID-base.img
24 {"execute": "change-backing-file", "arguments": {"backing-file": "TEST_DIR/PID-base.img", "device": "node0", "image-node-name": "node0"}}
25 {"return": {}}
27 bs->filename: TEST_DIR/PID-top.img
28 bs->backing_file: TEST_DIR/PID-base.img
29 bs->backing->bs->filename: TEST_DIR/PID-base.img
31 {"execute": "change-backing-file", "arguments": {"backing-file": "file:TEST_DIR/PID-base.img", "device": "node0", "image-node-name": "node0"}}
32 {"return": {}}
34 bs->filename: json:{"backing": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-base.img"}}, "driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}}
35 bs->backing_file: file:TEST_DIR/PID-base.img
36 bs->backing->bs->filename: TEST_DIR/PID-base.img
38 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}}
39 {"return": {}}
40 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}}
41 {"return": {}}
43 bs->filename: TEST_DIR/PID-top.img
44 bs->backing_file: file:TEST_DIR/PID-base.img
45 bs->backing->bs->filename: TEST_DIR/PID-base.img
47 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}}
48 {"return": {}}
50 --- Override backing file ---
52 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "null"}}
53 {"return": {}}
54 {"execute": "blockdev-add", "arguments": {"backing": "null", "driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}}
55 {"return": {}}
57 bs->filename: json:{"backing": {"driver": "null-co"}, "driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}}
58 bs->backing_file: TEST_DIR/PID-base.img
59 bs->backing->bs->filename: null-co://
61 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}}
62 {"return": {}}
63 {"execute": "blockdev-del", "arguments": {"node-name": "null"}}
64 {"return": {}}
65 {"execute": "blockdev-add", "arguments": {"backing": null, "driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}}
66 {"return": {}}
68 bs->filename: json:{"backing": null, "driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}}
69 bs->backing_file: TEST_DIR/PID-base.img
70 bs->backing: (none)
72 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-base.img"}, "node-name": "original-backing"}}
73 {"return": {}}
74 {"execute": "blockdev-snapshot", "arguments": {"node": "original-backing", "overlay": "node0"}}
75 {"return": {}}
77 bs->filename: TEST_DIR/PID-top.img
78 bs->backing_file: TEST_DIR/PID-base.img
79 bs->backing->bs->filename: TEST_DIR/PID-base.img
81 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}}
82 {"return": {}}
83 {"execute": "blockdev-del", "arguments": {"node-name": "original-backing"}}
84 {"return": {}}