mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu_command: Rename BuildNicStr to BuildLegacyNicStr
Makes it less ambiguous Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
3b1360f804
commit
faf8a16d8e
@ -3353,7 +3353,7 @@ qemuBuildMemoryDeviceStr(virDomainMemoryDefPtr mem)
|
||||
|
||||
|
||||
static char *
|
||||
qemuBuildNicStr(virDomainNetDefPtr net,
|
||||
qemuBuildLegacyNicStr(virDomainNetDefPtr net,
|
||||
const char *prefix,
|
||||
int vlan)
|
||||
{
|
||||
@ -8517,7 +8517,7 @@ qemuBuildInterfaceCommandLine(virQEMUDriverPtr driver,
|
||||
goto cleanup;
|
||||
virCommandAddArgList(cmd, "-device", nic, NULL);
|
||||
} else {
|
||||
if (!(nic = qemuBuildNicStr(net, "nic,", vlan)))
|
||||
if (!(nic = qemuBuildLegacyNicStr(net, "nic,", vlan)))
|
||||
goto cleanup;
|
||||
virCommandAddArgList(cmd, "-net", nic, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user