iotests: 257: drop device_add

SCSI devices are unused in test, drop them.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190920142056.12778-12-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
Vladimir Sementsov-Ogievskiy 2019-09-20 17:20:52 +03:00 committed by Max Reitz
parent f164845479
commit 15e4e6e6ad
2 changed files with 0 additions and 52 deletions

View file

@ -325,12 +325,6 @@ def test_bitmap_sync(bsync_mode, msync_mode='bitmap', failure=None):
node_name=drive0.node,
driver=drive0.fmt,
file=file_config)
# Use share-rw to allow writes directly to the node;
# The anonymous block-backend for this configuration prevents us
# from using HMP's qemu-io commands to address the device.
vm.qmp_log("device_add", id='device0',
drive=drive0.node, driver="scsi-hd",
share_rw=True)
log('')
# 0 - Writes and Reference Backup
@ -467,8 +461,6 @@ def test_backup_api():
node_name=drive0.node,
driver=drive0.fmt,
file=file_config)
vm.qmp_log("device_add", id='device0',
drive=drive0.node, driver="scsi-hd")
log('')
target0 = Drive(backup_path, vm=vm)