Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 1 | QA output created by 183 |
| 2 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 |
| 3 | Formatting 'TEST_DIR/t.IMGFMT.dest', fmt=IMGFMT size=67108864 |
| 4 | |
| 5 | === Starting VMs === |
| 6 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 7 | { 'execute': 'qmp_capabilities' } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 8 | {"return": {}} |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 9 | { 'execute': 'qmp_capabilities' } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 10 | {"return": {}} |
| 11 | |
| 12 | === Write something on the source === |
| 13 | |
Max Reitz | 0e72078 | 2020-12-17 16:38:03 +0100 | [diff] [blame] | 14 | { 'execute': 'human-monitor-command', |
| 15 | 'arguments': { 'command-line': |
| 16 | 'qemu-io disk "write -P 0x55 0 64k"' } } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 17 | wrote 65536/65536 bytes at offset 0 |
| 18 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 19 | {"return": ""} |
Max Reitz | 0e72078 | 2020-12-17 16:38:03 +0100 | [diff] [blame] | 20 | { 'execute': 'human-monitor-command', |
| 21 | 'arguments': { 'command-line': |
| 22 | 'qemu-io disk "read -P 0x55 0 64k"' } } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 23 | read 65536/65536 bytes at offset 0 |
| 24 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 25 | {"return": ""} |
| 26 | |
| 27 | === Do block migration to destination === |
| 28 | |
Max Reitz | 0e72078 | 2020-12-17 16:38:03 +0100 | [diff] [blame] | 29 | { 'execute': 'migrate', |
| 30 | 'arguments': { 'uri': 'unix:SOCK_DIR/migrate', 'blk': true } } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 31 | {"return": {}} |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 32 | { 'execute': 'query-status' } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 33 | {"return": {"status": "postmigrate", "singlestep": false, "running": false}} |
| 34 | |
| 35 | === Do some I/O on the destination === |
| 36 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 37 | { 'execute': 'query-status' } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 38 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "RESUME"} |
| 39 | {"return": {"status": "running", "singlestep": false, "running": true}} |
Max Reitz | 0e72078 | 2020-12-17 16:38:03 +0100 | [diff] [blame] | 40 | { 'execute': 'human-monitor-command', |
| 41 | 'arguments': { 'command-line': |
| 42 | 'qemu-io disk "read -P 0x55 0 64k"' } } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 43 | read 65536/65536 bytes at offset 0 |
| 44 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 45 | {"return": ""} |
Max Reitz | 0e72078 | 2020-12-17 16:38:03 +0100 | [diff] [blame] | 46 | { 'execute': 'human-monitor-command', |
| 47 | 'arguments': { 'command-line': |
| 48 | 'qemu-io disk "write -P 0x66 1M 64k"' } } |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 49 | wrote 65536/65536 bytes at offset 1048576 |
| 50 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 51 | {"return": ""} |
| 52 | |
| 53 | === Shut down and check image === |
| 54 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 55 | {"execute":"quit"} |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 56 | {"return": {}} |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 57 | {"execute":"quit"} |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 58 | {"return": {}} |
Dominik Csapak | 9254893 | 2018-12-05 12:01:31 +0100 | [diff] [blame] | 59 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
| 60 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
Kevin Wolf | 49695ee | 2017-05-23 14:53:10 +0200 | [diff] [blame] | 61 | No errors were found on the image. |
| 62 | No errors were found on the image. |
| 63 | wrote 65536/65536 bytes at offset 1048576 |
| 64 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 65 | Images are identical. |
| 66 | *** done |