mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: Add one argument for several scsi utils
To support passing the path of the test data to the utils, one more argument is added to virSCSIDeviceGetSgName, virSCSIDeviceGetDevName, and virSCSIDeviceNew, and the related code is changed accordingly. Later tests for the scsi utils will be based on this patch. Signed-off-by: Osier Yang <jyang@redhat.com>
This commit is contained in:
@@ -355,7 +355,8 @@ cleanup:
|
||||
|
||||
|
||||
static char *
|
||||
testSCSIDeviceGetSgName(const char *adapter ATTRIBUTE_UNUSED,
|
||||
testSCSIDeviceGetSgName(const char *sysfs_prefix ATTRIBUTE_UNUSED,
|
||||
const char *adapter ATTRIBUTE_UNUSED,
|
||||
unsigned int bus ATTRIBUTE_UNUSED,
|
||||
unsigned int target ATTRIBUTE_UNUSED,
|
||||
unsigned int unit ATTRIBUTE_UNUSED)
|
||||
|
||||
Reference in New Issue
Block a user