mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
iotests: add iotest 256 for testing blockdev-backup across iothread contexts
Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 20190523170643.20794-6-jsnow@redhat.com Reviewed-by: Max Reitz <mreitz@redhat.com> [mreitz: Moved from 250 to 256] Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
d6a79af0e6
commit
ba7704f222
3 changed files with 242 additions and 0 deletions
119
tests/qemu-iotests/256.out
Normal file
119
tests/qemu-iotests/256.out
Normal file
|
@ -0,0 +1,119 @@
|
|||
--- Preparing images & VM ---
|
||||
|
||||
--- Starting VM ---
|
||||
|
||||
--- Create Targets & Full Backups ---
|
||||
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{
|
||||
"execute": "transaction",
|
||||
"arguments": {
|
||||
"actions": [
|
||||
{
|
||||
"data": {
|
||||
"name": "bitmap0",
|
||||
"node": "drive0"
|
||||
},
|
||||
"type": "block-dirty-bitmap-add"
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"name": "bitmap1",
|
||||
"node": "drive1"
|
||||
},
|
||||
"type": "block-dirty-bitmap-add"
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"device": "drive0",
|
||||
"job-id": "j0",
|
||||
"sync": "full",
|
||||
"target": "img0-full"
|
||||
},
|
||||
"type": "blockdev-backup"
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"device": "drive1",
|
||||
"job-id": "j1",
|
||||
"sync": "full",
|
||||
"target": "img1-full"
|
||||
},
|
||||
"type": "blockdev-backup"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
{
|
||||
"return": {}
|
||||
}
|
||||
{"data": {"device": "j0", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
|
||||
{"data": {"device": "j1", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
|
||||
|
||||
--- Create Targets & Incremental Backups ---
|
||||
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job1"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{}
|
||||
{"execute": "job-dismiss", "arguments": {"id": "job2"}}
|
||||
{"return": {}}
|
||||
{}
|
||||
{
|
||||
"execute": "transaction",
|
||||
"arguments": {
|
||||
"actions": [
|
||||
{
|
||||
"data": {
|
||||
"bitmap": "bitmap0",
|
||||
"device": "drive0",
|
||||
"job-id": "j2",
|
||||
"sync": "incremental",
|
||||
"target": "img0-incr"
|
||||
},
|
||||
"type": "blockdev-backup"
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"bitmap": "bitmap1",
|
||||
"device": "drive1",
|
||||
"job-id": "j3",
|
||||
"sync": "incremental",
|
||||
"target": "img1-incr"
|
||||
},
|
||||
"type": "blockdev-backup"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
{
|
||||
"return": {}
|
||||
}
|
||||
{"data": {"device": "j2", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
|
||||
{"data": {"device": "j3", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
|
||||
|
||||
--- Done ---
|
Loading…
Add table
Add a link
Reference in a new issue