提交 faf8a16d 编写于 作者: C Cole Robinson

qemu_command: Rename BuildNicStr to BuildLegacyNicStr

Makes it less ambiguous
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 3b1360f8
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册