mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
qemu: Fix mis-merge of qemuBuildChannelsCommandLine
Commit id '3cdcc910' misapplied a merge of commit id '019244751' to place the "-chardev" command after formatting the character backend value.
This commit is contained in:
parent
6a97e35f82
commit
48d5b3d81d
@ -8483,12 +8483,12 @@ qemuBuildChannelsCommandLine(virLogManagerPtr logManager,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
virCommandAddArg(cmd, "-chardev");
|
|
||||||
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
||||||
&channel->source,
|
&channel->source,
|
||||||
channel->info.alias,
|
channel->info.alias,
|
||||||
qemuCaps)))
|
qemuCaps)))
|
||||||
return -1;
|
return -1;
|
||||||
|
virCommandAddArg(cmd, "-chardev");
|
||||||
virCommandAddArg(cmd, devstr);
|
virCommandAddArg(cmd, devstr);
|
||||||
VIR_FREE(devstr);
|
VIR_FREE(devstr);
|
||||||
|
|
||||||
@ -8528,12 +8528,12 @@ qemuBuildChannelsCommandLine(virLogManagerPtr logManager,
|
|||||||
* the newer -chardev interface. */
|
* the newer -chardev interface. */
|
||||||
;
|
;
|
||||||
} else {
|
} else {
|
||||||
virCommandAddArg(cmd, "-chardev");
|
|
||||||
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
||||||
&channel->source,
|
&channel->source,
|
||||||
channel->info.alias,
|
channel->info.alias,
|
||||||
qemuCaps)))
|
qemuCaps)))
|
||||||
return -1;
|
return -1;
|
||||||
|
virCommandAddArg(cmd, "-chardev");
|
||||||
virCommandAddArg(cmd, devstr);
|
virCommandAddArg(cmd, devstr);
|
||||||
VIR_FREE(devstr);
|
VIR_FREE(devstr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user