xref: /qemu/tests/qemu-iotests/267.out (revision b66ff2c2)
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
992b22e7bSKevin WolfError: No block device can accept snapshots
1092b22e7bSKevin Wolf(qemu) info snapshots
1192b22e7bSKevin WolfNo available block device supports snapshots
1292b22e7bSKevin Wolf(qemu) loadvm snap0
1392b22e7bSKevin WolfError: No block device supports snapshots
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
2592b22e7bSKevin WolfNo available block device supports snapshots
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:
3692b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
3792b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00: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:
4792b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
4892b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00: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
6192b22e7bSKevin WolfNo available block device supports snapshots
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:
7292b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
7392b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00: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
8492b22e7bSKevin WolfError: Device '' is writable but does not support snapshots
8592b22e7bSKevin Wolf(qemu) info snapshots
8692b22e7bSKevin WolfNo available block device supports snapshots
8792b22e7bSKevin Wolf(qemu) loadvm snap0
8892b22e7bSKevin WolfError: Device '' 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:
9792b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
9892b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00: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:
10892b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
10992b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00: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:
12292b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
12392b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00: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
131*b66ff2c2SEric 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:
13792b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
13892b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00:00:00.000
13992b22e7bSKevin Wolf(qemu) loadvm snap0
14092b22e7bSKevin Wolf(qemu) quit
14192b22e7bSKevin Wolf
142*b66ff2c2SEric 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:
14892b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
14992b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00:00:00.000
15092b22e7bSKevin Wolf(qemu) loadvm snap0
15192b22e7bSKevin Wolf(qemu) quit
15292b22e7bSKevin Wolf
15392b22e7bSKevin WolfInternal snapshots on overlay:
15492b22e7bSKevin WolfSnapshot list:
15592b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
15692b22e7bSKevin Wolf1         snap0                  SIZE yyyy-mm-dd hh:mm:ss   00:00:00.000
15792b22e7bSKevin WolfInternal snapshots on backing file:
15892b22e7bSKevin Wolf
15992b22e7bSKevin Wolf=== -blockdev with NBD server on the backing file ===
16092b22e7bSKevin Wolf
161*b66ff2c2SEric 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:
16992b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
17092b22e7bSKevin Wolf--        snap0                  SIZE yyyy-mm-dd hh:mm:ss   00:00:00.000
17192b22e7bSKevin Wolf(qemu) loadvm snap0
17292b22e7bSKevin Wolf(qemu) quit
17392b22e7bSKevin Wolf
17492b22e7bSKevin WolfInternal snapshots on overlay:
17592b22e7bSKevin WolfSnapshot list:
17692b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
17792b22e7bSKevin Wolf1         snap0                  SIZE yyyy-mm-dd hh:mm:ss   00:00:00.000
17892b22e7bSKevin WolfInternal snapshots on backing file:
17992b22e7bSKevin WolfSnapshot list:
18092b22e7bSKevin WolfID        TAG                 VM SIZE                DATE       VM CLOCK
18192b22e7bSKevin Wolf1         snap0                  SIZE yyyy-mm-dd hh:mm:ss   00:00:00.000
18292b22e7bSKevin Wolf*** done
183