xref: /qemu/tests/qemu-iotests/267.out (revision 52df1a5b)
192b22e7bSKevin WolfQA output created by 267
292b22e7bSKevin Wolf
392b22e7bSKevin Wolf=== No block devices at all ===
492b22e7bSKevin Wolf
592b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
692b22e7bSKevin WolfTesting:
792b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
892b22e7bSKevin Wolf(qemu) savevm snap0
9c22d644cSDaniel P. BerrangéError: no block device can store vmstate for snapshot
1092b22e7bSKevin Wolf(qemu) info snapshots
11c22d644cSDaniel P. Berrangéno block device can store vmstate for snapshot
1292b22e7bSKevin Wolf(qemu) loadvm snap0
13c22d644cSDaniel P. BerrangéError: no block device can store vmstate for snapshot
1492b22e7bSKevin Wolf(qemu) quit
1592b22e7bSKevin Wolf
1692b22e7bSKevin Wolf
1792b22e7bSKevin Wolf=== -drive if=none ===
1892b22e7bSKevin Wolf
1992b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
2092b22e7bSKevin WolfTesting: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=none
2192b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
2292b22e7bSKevin Wolf(qemu) savevm snap0
2392b22e7bSKevin WolfError: Device 'none0' is writable but does not support snapshots
2492b22e7bSKevin Wolf(qemu) info snapshots
25c22d644cSDaniel P. Berrangéno block device can store vmstate for snapshot
2692b22e7bSKevin Wolf(qemu) loadvm snap0
2792b22e7bSKevin WolfError: Device 'none0' is writable but does not support snapshots
2892b22e7bSKevin Wolf(qemu) quit
2992b22e7bSKevin Wolf
3092b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
3192b22e7bSKevin WolfTesting: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=none
3292b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
3392b22e7bSKevin Wolf(qemu) savevm snap0
3492b22e7bSKevin Wolf(qemu) info snapshots
3592b22e7bSKevin WolfList of snapshots present on all disks:
36*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
37*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
3892b22e7bSKevin Wolf(qemu) loadvm snap0
3992b22e7bSKevin Wolf(qemu) quit
4092b22e7bSKevin Wolf
4192b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
4292b22e7bSKevin WolfTesting: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=none -device virtio-blk,drive=none0
4392b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
4492b22e7bSKevin Wolf(qemu) savevm snap0
4592b22e7bSKevin Wolf(qemu) info snapshots
4692b22e7bSKevin WolfList of snapshots present on all disks:
47*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
48*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
4992b22e7bSKevin Wolf(qemu) loadvm snap0
5092b22e7bSKevin Wolf(qemu) quit
5192b22e7bSKevin Wolf
5292b22e7bSKevin Wolf
5392b22e7bSKevin Wolf=== -drive if=virtio ===
5492b22e7bSKevin Wolf
5592b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
5692b22e7bSKevin WolfTesting: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=virtio
5792b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
5892b22e7bSKevin Wolf(qemu) savevm snap0
5992b22e7bSKevin WolfError: Device 'virtio0' is writable but does not support snapshots
6092b22e7bSKevin Wolf(qemu) info snapshots
61c22d644cSDaniel P. Berrangéno block device can store vmstate for snapshot
6292b22e7bSKevin Wolf(qemu) loadvm snap0
6392b22e7bSKevin WolfError: Device 'virtio0' is writable but does not support snapshots
6492b22e7bSKevin Wolf(qemu) quit
6592b22e7bSKevin Wolf
6692b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
6792b22e7bSKevin WolfTesting: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=virtio
6892b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
6992b22e7bSKevin Wolf(qemu) savevm snap0
7092b22e7bSKevin Wolf(qemu) info snapshots
7192b22e7bSKevin WolfList of snapshots present on all disks:
72*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
73*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
7492b22e7bSKevin Wolf(qemu) loadvm snap0
7592b22e7bSKevin Wolf(qemu) quit
7692b22e7bSKevin Wolf
7792b22e7bSKevin Wolf
7892b22e7bSKevin Wolf=== Simple -blockdev ===
7992b22e7bSKevin Wolf
8092b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
8192b22e7bSKevin WolfTesting: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file
8292b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
8392b22e7bSKevin Wolf(qemu) savevm snap0
84aa8a926dSDaniel P. BerrangéError: Device 'file' is writable but does not support snapshots
8592b22e7bSKevin Wolf(qemu) info snapshots
86c22d644cSDaniel P. Berrangéno block device can store vmstate for snapshot
8792b22e7bSKevin Wolf(qemu) loadvm snap0
88aa8a926dSDaniel P. BerrangéError: Device 'file' is writable but does not support snapshots
8992b22e7bSKevin Wolf(qemu) quit
9092b22e7bSKevin Wolf
9192b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
9292b22e7bSKevin WolfTesting: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,file=file,node-name=fmt
9392b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
9492b22e7bSKevin Wolf(qemu) savevm snap0
9592b22e7bSKevin Wolf(qemu) info snapshots
9692b22e7bSKevin WolfList of snapshots present on all disks:
97*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
98*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
9992b22e7bSKevin Wolf(qemu) loadvm snap0
10092b22e7bSKevin Wolf(qemu) quit
10192b22e7bSKevin Wolf
10292b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
10392b22e7bSKevin WolfTesting: -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
10492b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
10592b22e7bSKevin Wolf(qemu) savevm snap0
10692b22e7bSKevin Wolf(qemu) info snapshots
10792b22e7bSKevin WolfList of snapshots present on all disks:
108*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
109*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
11092b22e7bSKevin Wolf(qemu) loadvm snap0
11192b22e7bSKevin Wolf(qemu) quit
11292b22e7bSKevin Wolf
11392b22e7bSKevin Wolf
11492b22e7bSKevin Wolf=== -blockdev with a filter on top ===
11592b22e7bSKevin Wolf
11692b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
11792b22e7bSKevin WolfTesting: -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
11892b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
11992b22e7bSKevin Wolf(qemu) savevm snap0
12092b22e7bSKevin Wolf(qemu) info snapshots
12192b22e7bSKevin WolfList of snapshots present on all disks:
122*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
123*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
12492b22e7bSKevin Wolf(qemu) loadvm snap0
12592b22e7bSKevin Wolf(qemu) quit
12692b22e7bSKevin Wolf
12792b22e7bSKevin Wolf
12892b22e7bSKevin Wolf=== -blockdev with a backing file ===
12992b22e7bSKevin Wolf
13092b22e7bSKevin WolfFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728
131b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
13292b22e7bSKevin WolfTesting: -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
13392b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
13492b22e7bSKevin Wolf(qemu) savevm snap0
13592b22e7bSKevin Wolf(qemu) info snapshots
13692b22e7bSKevin WolfList of snapshots present on all disks:
137*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
138*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
13992b22e7bSKevin Wolf(qemu) loadvm snap0
14092b22e7bSKevin Wolf(qemu) quit
14192b22e7bSKevin Wolf
142b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
14392b22e7bSKevin WolfTesting: -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
14492b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
14592b22e7bSKevin Wolf(qemu) savevm snap0
14692b22e7bSKevin Wolf(qemu) info snapshots
14792b22e7bSKevin WolfList of snapshots present on all disks:
148*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
149*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
15092b22e7bSKevin Wolf(qemu) loadvm snap0
15192b22e7bSKevin Wolf(qemu) quit
15292b22e7bSKevin Wolf
15392b22e7bSKevin WolfInternal snapshots on overlay:
15492b22e7bSKevin WolfSnapshot list:
155*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
156*52df1a5bSAbhiram Tilak1       snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
15792b22e7bSKevin WolfInternal snapshots on backing file:
15892b22e7bSKevin Wolf
15992b22e7bSKevin Wolf=== -blockdev with NBD server on the backing file ===
16092b22e7bSKevin Wolf
161b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
16292b22e7bSKevin WolfTesting: -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
16392b22e7bSKevin WolfQEMU X.Y.Z monitor - type 'help' for more information
164f0e24942SMax Reitz(qemu) nbd_server_start unix:SOCK_DIR/nbd
16592b22e7bSKevin Wolf(qemu) nbd_server_add -w backing-fmt
16692b22e7bSKevin Wolf(qemu) savevm snap0
16792b22e7bSKevin Wolf(qemu) info snapshots
16892b22e7bSKevin WolfList of snapshots present on all disks:
169*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
170*52df1a5bSAbhiram Tilak--      snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
17192b22e7bSKevin Wolf(qemu) loadvm snap0
17292b22e7bSKevin Wolf(qemu) quit
17392b22e7bSKevin Wolf
17492b22e7bSKevin WolfInternal snapshots on overlay:
17592b22e7bSKevin WolfSnapshot list:
176*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
177*52df1a5bSAbhiram Tilak1       snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
17892b22e7bSKevin WolfInternal snapshots on backing file:
17992b22e7bSKevin WolfSnapshot list:
180*52df1a5bSAbhiram TilakID      TAG               VM_SIZE                DATE        VM_CLOCK     ICOUNT
181*52df1a5bSAbhiram Tilak1       snap0                SIZE yyyy-mm-dd hh:mm:ss  0000:00:00.000         --
18292b22e7bSKevin Wolf*** done
183