]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildChannelsCommandLine: Extract common formatting of 'chardev'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 May 2020 10:51:21 +0000 (12:51 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 May 2020 07:41:57 +0000 (09:41 +0200)
commit63e5124ac13e3dc4d47d4f448ccbf94b8b91ab2d
tree6bda2393d2301feed19cf46fca1974780fabd336
parent63fc99402ef1bccdbc48656bc3a0375ddc9cb148
qemuBuildChannelsCommandLine: Extract common formatting of 'chardev'

Both active branches create the same backend chardev. Since there is no
other case, extract it before the switch so that we don't have to
duplicate it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_command.c