1de9efdb3SFam ZhengQA output created by 182 2de9efdb3SFam ZhengFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 3de9efdb3SFam ZhengStarting QEMU 4de9efdb3SFam Zheng 5de9efdb3SFam ZhengStarting a second QEMU using the same image should fail 6de9efdb3SFam ZhengQEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0,file.locking=on: Failed to get "write" lock 7b857431dSFam ZhengIs another process using the image [TEST_DIR/t.qcow2]? 86d0a4a0fSMax Reitz 96d0a4a0fSMax Reitz=== Testing reopen === 106d0a4a0fSMax Reitz 11a98b1a1fSEric Blake{'execute': 'qmp_capabilities'} 126d0a4a0fSMax Reitz{"return": {}} 130e720781SMax Reitz{'execute': 'blockdev-add', 140e720781SMax Reitz 'arguments': { 150e720781SMax Reitz 'node-name': 'node0', 160e720781SMax Reitz 'driver': 'file', 170e720781SMax Reitz 'filename': 'TEST_DIR/t.IMGFMT', 180e720781SMax Reitz 'locking': 'on' 190e720781SMax Reitz } } 206d0a4a0fSMax Reitz{"return": {}} 210e720781SMax Reitz{'execute': 'blockdev-snapshot-sync', 220e720781SMax Reitz 'arguments': { 230e720781SMax Reitz 'node-name': 'node0', 240e720781SMax Reitz 'snapshot-file': 'TEST_DIR/t.IMGFMT.overlay', 250e720781SMax Reitz 'snapshot-node-name': 'node1' 260e720781SMax Reitz } } 277be20252SAlberto GarciaFormatting '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 286d0a4a0fSMax Reitz{"return": {}} 290e720781SMax Reitz{'execute': 'blockdev-add', 300e720781SMax Reitz 'arguments': { 310e720781SMax Reitz 'node-name': 'node1', 320e720781SMax Reitz 'driver': 'file', 330e720781SMax Reitz 'filename': 'TEST_DIR/t.IMGFMT', 340e720781SMax Reitz 'locking': 'on' 350e720781SMax Reitz } } 366d0a4a0fSMax Reitz{"return": {}} 370e720781SMax Reitz{'execute': 'nbd-server-start', 380e720781SMax Reitz 'arguments': { 390e720781SMax Reitz 'addr': { 400e720781SMax Reitz 'type': 'unix', 410e720781SMax Reitz 'data': { 420e720781SMax Reitz 'path': 'SOCK_DIR/nbd.socket' 430e720781SMax Reitz } } } } 446d0a4a0fSMax Reitz{"return": {}} 450e720781SMax Reitz{'execute': 'nbd-server-add', 460e720781SMax Reitz 'arguments': { 470e720781SMax Reitz 'device': 'node1' 480e720781SMax Reitz } } 498fabb8beSMax Reitz{"return": {}} 50dc68c9d3SMax Reitz 51dc68c9d3SMax Reitz=== Testing failure to loosen restrictions === 52dc68c9d3SMax Reitz 53a98b1a1fSEric Blake{'execute': 'qmp_capabilities'} 54dc68c9d3SMax Reitz{"return": {}} 55a98b1a1fSEric Blake{'execute': 'quit'} 56dc68c9d3SMax Reitz{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 57*f389309dSStefan Hajnoczi{"return": {}} 58de9efdb3SFam Zheng*** done 59