mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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:
parent
7b0ced89e7
commit
b6fea3f5d8
@ -121,19 +121,6 @@ virMemoryMaxValue(bool capped G_GNUC_UNUSED)
|
|||||||
return LLONG_MAX;
|
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
|
int
|
||||||
virSCSIVHostOpenVhostSCSI(int *vhostfd)
|
virSCSIVHostOpenVhostSCSI(int *vhostfd)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user