]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/common.rc
tests: allow qemu-iotests to be run against nbd backend
authorNick Thomas <nick@bytemark.co.uk>
Fri, 2 Nov 2012 13:01:23 +0000 (13:01 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 14 Nov 2012 17:19:21 +0000 (18:19 +0100)
commita9660664fde89ef2c7bc629eda547a48b288fbb9
treee76b91f39ce5121c530772703f10065ef4b00cbb
parentcee40d2d2dda87fd9705ed4b85e2c0cf0e5c2ac4
tests: allow qemu-iotests to be run against nbd backend

To do this, we start a qemu-nbd process at _make_test_img and kill
it in _cleanup_test_img. $TEST_IMG is changed to point at the TCP
server. We also remove the checks for existence of binaries from
common.config - they're duplicated in common, and we can make the
qemu-nbd check conditional on $IMGPROTO being "nbd" if we do it there.

Signed-off-by: Nick Thomas <nick@bytemark.co.uk>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/common
tests/qemu-iotests/common.config
tests/qemu-iotests/common.rc