mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 14:03:49 +03:00
qemu: Fix mis-merge of qemuBuildRedirdevCommandLine
Commit id '59e7ef3c' misapplied a merge of commit id '019244751' to place the "-chardev" command after formatting the character backend value.
This commit is contained in:
parent
28e960b691
commit
2cc91ddd2d
@ -8723,7 +8723,6 @@ qemuBuildRedirdevCommandLine(virLogManagerPtr logManager,
|
|||||||
virDomainRedirdevDefPtr redirdev = def->redirdevs[i];
|
virDomainRedirdevDefPtr redirdev = def->redirdevs[i];
|
||||||
char *devstr;
|
char *devstr;
|
||||||
|
|
||||||
virCommandAddArg(cmd, "-chardev");
|
|
||||||
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
||||||
&redirdev->source.chr,
|
&redirdev->source.chr,
|
||||||
redirdev->info.alias,
|
redirdev->info.alias,
|
||||||
@ -8731,6 +8730,7 @@ qemuBuildRedirdevCommandLine(virLogManagerPtr logManager,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virCommandAddArg(cmd, "-chardev");
|
||||||
virCommandAddArg(cmd, devstr);
|
virCommandAddArg(cmd, devstr);
|
||||||
VIR_FREE(devstr);
|
VIR_FREE(devstr);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user