mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
qemuBuildHostNetStr: remove unused 'driver' argument
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
9ec3ec30a6
commit
1a8e03f886
@ -3906,7 +3906,6 @@ qemuBuildNicDevStr(virDomainDefPtr def,
|
||||
|
||||
char *
|
||||
qemuBuildHostNetStr(virDomainNetDefPtr net,
|
||||
virQEMUDriverPtr driver ATTRIBUTE_UNUSED,
|
||||
char **tapfd,
|
||||
size_t tapfdSize,
|
||||
char **vhostfd,
|
||||
@ -8551,7 +8550,7 @@ qemuBuildInterfaceCommandLine(virQEMUDriverPtr driver,
|
||||
if (chardev)
|
||||
virCommandAddArgList(cmd, "-chardev", chardev, NULL);
|
||||
|
||||
if (!(host = qemuBuildHostNetStr(net, driver,
|
||||
if (!(host = qemuBuildHostNetStr(net,
|
||||
tapfdName, tapfdSize,
|
||||
vhostfdName, vhostfdSize,
|
||||
slirpfdName)))
|
||||
|
@ -86,7 +86,6 @@ qemuBuildChrDeviceStr(char **deviceStr,
|
||||
virQEMUCapsPtr qemuCaps);
|
||||
|
||||
char *qemuBuildHostNetStr(virDomainNetDefPtr net,
|
||||
virQEMUDriverPtr driver,
|
||||
char **tapfd,
|
||||
size_t tapfdSize,
|
||||
char **vhostfd,
|
||||
|
@ -1383,7 +1383,7 @@ qemuDomainAttachNetDevice(virQEMUDriverPtr driver,
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (!(netstr = qemuBuildHostNetStr(net, driver,
|
||||
if (!(netstr = qemuBuildHostNetStr(net,
|
||||
tapfdName, tapfdSize,
|
||||
vhostfdName, vhostfdSize,
|
||||
slirpfdName)))
|
||||
|
Loading…
Reference in New Issue
Block a user