]> xenbits.xensource.com Git - libvirt.git/commit
qemu: qemuBuildChardevCommand: use chrSourcePriv unconditionally
authorJán Tomko <jtomko@redhat.com>
Mon, 13 Dec 2021 12:29:06 +0000 (13:29 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 13 Dec 2021 13:46:21 +0000 (14:46 +0100)
commitd47a4bfa7b602cbb764076a685cebb920d00555a
treeab6334c0e4f05fc8f21d3eb06500b78888f4fa44
parent7d825985b46f43429527b4878add19f2e1365d60
qemu: qemuBuildChardevCommand: use chrSourcePriv unconditionally

In the QEMU driver, we allocate private source data unconditionally
for every chardev and the rest of the function just assumes it's there.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c