mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 12:23:36 +08:00
tests: Drop BDS from test-throttle.c
Now that throttling has been moved to the BlockBackend level, we do not need to create a BDS along with the BB in the I/O throttling test. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
668361898e
commit
21a699afc8
@ -578,9 +578,9 @@ static void test_groups(void)
|
||||
BlockBackend *blk1, *blk2, *blk3;
|
||||
BlockBackendPublic *blkp1, *blkp2, *blkp3;
|
||||
|
||||
blk1 = blk_new_with_bs(&error_abort);
|
||||
blk2 = blk_new_with_bs(&error_abort);
|
||||
blk3 = blk_new_with_bs(&error_abort);
|
||||
blk1 = blk_new(&error_abort);
|
||||
blk2 = blk_new(&error_abort);
|
||||
blk3 = blk_new(&error_abort);
|
||||
|
||||
blkp1 = blk_get_public(blk1);
|
||||
blkp2 = blk_get_public(blk2);
|
||||
|
Loading…
Reference in New Issue
Block a user