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@xxxxxxxxxx> --- tests/qemuxml2argvmock.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/qemuxml2argvmock.c b/tests/qemuxml2argvmock.c index b9322f4f2a..565d2aefca 100644 --- a/tests/qemuxml2argvmock.c +++ b/tests/qemuxml2argvmock.c @@ -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) { -- 2.26.2