1 QA output created by 267
3 === No block devices at all ===
5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
7 QEMU X.Y.Z monitor - type 'help' for more information
9 Error: no block device can store vmstate for snapshot
11 no block device can store vmstate for snapshot
13 Error: no block device can store vmstate for snapshot
17 === -drive if=none ===
19 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
20 Testing: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=none
21 QEMU X.Y.Z monitor - type 'help' for more information
23 Error: Device 'none0' is writable but does not support snapshots
25 no block device can store vmstate for snapshot
27 Error: Device 'none0' is writable but does not support snapshots
30 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
31 Testing: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=none
32 QEMU X.Y.Z monitor - type 'help' for more information
35 List of snapshots present on all disks:
36 ID TAG VM SIZE DATE VM CLOCK ICOUNT
37 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
41 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
42 Testing: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=none -device virtio-blk,drive=none0
43 QEMU X.Y.Z monitor - type 'help' for more information
46 List of snapshots present on all disks:
47 ID TAG VM SIZE DATE VM CLOCK ICOUNT
48 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
53 === -drive if=virtio ===
55 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
56 Testing: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=virtio
57 QEMU X.Y.Z monitor - type 'help' for more information
59 Error: Device 'virtio0' is writable but does not support snapshots
61 no block device can store vmstate for snapshot
63 Error: Device 'virtio0' is writable but does not support snapshots
66 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
67 Testing: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=virtio
68 QEMU X.Y.Z monitor - type 'help' for more information
71 List of snapshots present on all disks:
72 ID TAG VM SIZE DATE VM CLOCK ICOUNT
73 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
78 === Simple -blockdev ===
80 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
81 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file
82 QEMU X.Y.Z monitor - type 'help' for more information
84 Error: Device 'file' is writable but does not support snapshots
86 no block device can store vmstate for snapshot
88 Error: Device 'file' is writable but does not support snapshots
91 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
92 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,file=file,node-name=fmt
93 QEMU X.Y.Z monitor - type 'help' for more information
96 List of snapshots present on all disks:
97 ID TAG VM SIZE DATE VM CLOCK ICOUNT
98 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
102 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
103 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=raw,file=file,node-name=raw -blockdev driver=IMGFMT,file=raw,node-name=fmt
104 QEMU X.Y.Z monitor - type 'help' for more information
106 (qemu) info snapshots
107 List of snapshots present on all disks:
108 ID TAG VM SIZE DATE VM CLOCK ICOUNT
109 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
114 === -blockdev with a filter on top ===
116 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
117 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,file=file,node-name=fmt -blockdev driver=copy-on-read,file=fmt,node-name=filter
118 QEMU X.Y.Z monitor - type 'help' for more information
120 (qemu) info snapshots
121 List of snapshots present on all disks:
122 ID TAG VM SIZE DATE VM CLOCK ICOUNT
123 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
128 === -blockdev with a backing file ===
130 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728
131 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
132 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT.base,node-name=backing-file -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,file=file,backing=backing-file,node-name=fmt
133 QEMU X.Y.Z monitor - type 'help' for more information
135 (qemu) info snapshots
136 List of snapshots present on all disks:
137 ID TAG VM SIZE DATE VM CLOCK ICOUNT
138 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
142 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
143 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT.base,node-name=backing-file -blockdev driver=IMGFMT,file=backing-file,node-name=backing-fmt -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,file=file,backing=backing-fmt,node-name=fmt
144 QEMU X.Y.Z monitor - type 'help' for more information
146 (qemu) info snapshots
147 List of snapshots present on all disks:
148 ID TAG VM SIZE DATE VM CLOCK ICOUNT
149 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
153 Internal snapshots on overlay:
155 ID TAG VM SIZE DATE VM CLOCK ICOUNT
156 1 snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
157 Internal snapshots on backing file:
159 === -blockdev with NBD server on the backing file ===
161 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
162 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT.base,node-name=backing-file -blockdev driver=IMGFMT,file=backing-file,node-name=backing-fmt -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,file=file,backing=backing-fmt,node-name=fmt
163 QEMU X.Y.Z monitor - type 'help' for more information
164 (qemu) nbd_server_start unix:SOCK_DIR/nbd
165 (qemu) nbd_server_add -w backing-fmt
167 (qemu) info snapshots
168 List of snapshots present on all disks:
169 ID TAG VM SIZE DATE VM CLOCK ICOUNT
170 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
174 Internal snapshots on overlay:
176 ID TAG VM SIZE DATE VM CLOCK ICOUNT
177 1 snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000
178 Internal snapshots on backing file:
180 ID TAG VM SIZE DATE VM CLOCK ICOUNT
181 1 snap0 SIZE yyyy-mm-dd hh:mm:ss 00:00:00.000