mirror of https://gitee.com/openkylin/qemu.git
iotests: 087: Don't attach test image twice
The test scenario doesn't require the same image, instead it focuses on the duplicated node-name, so use null-co to avoid locking conflict. Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
ecffa63421
commit
d5b8336a62
|
@ -82,8 +82,7 @@ run_qemu -drive driver=$IMGFMT,id=disk,node-name=test-node,file="$TEST_IMG" <<EO
|
||||||
"driver": "$IMGFMT",
|
"driver": "$IMGFMT",
|
||||||
"node-name": "disk",
|
"node-name": "disk",
|
||||||
"file": {
|
"file": {
|
||||||
"driver": "file",
|
"driver": "null-co"
|
||||||
"filename": "$TEST_IMG"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,8 +91,7 @@ run_qemu -drive driver=$IMGFMT,id=disk,node-name=test-node,file="$TEST_IMG" <<EO
|
||||||
"driver": "$IMGFMT",
|
"driver": "$IMGFMT",
|
||||||
"node-name": "test-node",
|
"node-name": "test-node",
|
||||||
"file": {
|
"file": {
|
||||||
"driver": "file",
|
"driver": "null-co"
|
||||||
"filename": "$TEST_IMG"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue