qemu-iotests: expand test 093 to support group throttling
commit2db33f88d2b340c049c576ad75d442e4b6ffe768
authorAlberto Garcia <berto@igalia.com>
Mon, 8 Jun 2015 16:17:48 +0000 (8 18:17 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 12 Jun 2015 13:00:00 +0000 (12 14:00 +0100)
treeabc2a6f348533d7283fb77afeb8d11d457ea3c58
parenta291d5d9b9940e1b07319041afc2c4b9285b9c48
qemu-iotests: expand test 093 to support group throttling

This patch improves the test by attaching a different number of drives
to the VM and putting them in the same throttling group. The test
verifies that the I/O is evenly distributed among all members of the
group, and that the limits are enforced.

By default the test is repeated 3 times with 1, 2 and 3 drives, but
the maximum number of simultaneous drives is configurable.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 513df1da5c658878191b579ebcddd985adcd4122.1433779731.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/093