xref: /openbmc/qemu/tests/qemu-iotests/182.out (revision 3e964275)
1QA output created by 182
2Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432
3Starting QEMU
4
5Starting a second QEMU using the same image should fail
6QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0,file.locking=on: Failed to get "write" lock
7Is another process using the image [TEST_DIR/t.qcow2]?
8
9=== Testing reopen ===
10
11{'execute': 'qmp_capabilities'}
12{"return": {}}
13{'execute': 'blockdev-add',
14      'arguments': {
15          'node-name': 'node0',
16          'driver': 'file',
17          'filename': 'TEST_DIR/t.IMGFMT',
18          'locking': 'on'
19          } }
20{"return": {}}
21{'execute': 'blockdev-snapshot-sync',
22      'arguments': {
23          'node-name': 'node0',
24          'snapshot-file': 'TEST_DIR/t.IMGFMT.overlay',
25          'snapshot-node-name': 'node1'
26      } }
27Formatting 'TEST_DIR/t.qcow2.overlay', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=197120 backing_file=TEST_DIR/t.qcow2 backing_fmt=file lazy_refcounts=off refcount_bits=16
28{"return": {}}
29{'execute': 'blockdev-add',
30      'arguments': {
31          'node-name': 'node1',
32          'driver': 'file',
33          'filename': 'TEST_DIR/t.IMGFMT',
34          'locking': 'on'
35          } }
36{"return": {}}
37{'execute': 'nbd-server-start',
38      'arguments': {
39          'addr': {
40              'type': 'unix',
41              'data': {
42                  'path': 'SOCK_DIR/nbd.socket'
43              } } } }
44{"return": {}}
45{'execute': 'nbd-server-add',
46      'arguments': {
47          'device': 'node1'
48      } }
49{"return": {}}
50
51=== Testing failure to loosen restrictions ===
52
53{'execute': 'qmp_capabilities'}
54{"return": {}}
55{'execute': 'quit'}
56{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
57{"return": {}}
58*** done
59