mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
qemu: Fix mis-merge of qemuBuildSmartcardCommandLine
Commit id '858bafeb' misapplied a merge of commit id '019244751' to place the "-chardev" command after formatting the character backend value.
This commit is contained in:
parent
17a94ba70f
commit
344bcd89eb
@ -8198,7 +8198,6 @@ qemuBuildSmartcardCommandLine(virLogManagerPtr logManager,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
virCommandAddArg(cmd, "-chardev");
|
|
||||||
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
if (!(devstr = qemuBuildChrChardevStr(logManager, cmd, def,
|
||||||
&smartcard->data.passthru,
|
&smartcard->data.passthru,
|
||||||
smartcard->info.alias,
|
smartcard->info.alias,
|
||||||
@ -8206,6 +8205,7 @@ qemuBuildSmartcardCommandLine(virLogManagerPtr logManager,
|
|||||||
virBufferFreeAndReset(&opt);
|
virBufferFreeAndReset(&opt);
|
||||||
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