iotests: Make 182 do without device_addpull-nbd-2019-05-07
commit8fabb8be37775ebb32b0d78bc7be815a29b8a107
authorMax Reitz <mreitz@redhat.com>
Wed, 17 Apr 2019 15:30:05 +0000 (17 17:30 +0200)
committerEric Blake <eblake@redhat.com>
Tue, 7 May 2019 14:43:42 +0000 (7 09:43 -0500)
tree0e5238724aee48c711c43424ee75fc7c2e522452
parentd3192de752cd6d383d38e50341b39d9550d21fa8
iotests: Make 182 do without device_add

182 fails if qemu has no support for hotplugging of a virtio-blk device.
Using an NBD server instead works just as well for the test, even on
qemus without hotplugging support.

Fixes: 6d0a4a0fb5c8f10c8eb68b52cfda0082b00ae963
Reported-by: Danilo C. L. de Paula <ddepaula@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20190417153005.30096-1-mreitz@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/182
tests/qemu-iotests/182.out