qemuxml2argvmock: Remove mocking of 'virSCSIDeviceGetSgName'

Hostdev setup code no longer resolves hostdev name in the commandline
formatter but we mock it directly in the monitor code.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Peter Krempa 2020-10-15 16:51:47 +02:00
parent 7b0ced89e7
commit b6fea3f5d8

View File

@ -121,19 +121,6 @@ virMemoryMaxValue(bool capped G_GNUC_UNUSED)
return LLONG_MAX;
}
char *
virSCSIDeviceGetSgName(const char *sysfs_prefix G_GNUC_UNUSED,
const char *adapter G_GNUC_UNUSED,
unsigned int bus G_GNUC_UNUSED,
unsigned int target G_GNUC_UNUSED,
unsigned long long unit G_GNUC_UNUSED)
{
char *ret;
ret = g_strdup("sg0");
return ret;
}
int
virSCSIVHostOpenVhostSCSI(int *vhostfd)
{