[PATCH 04/21] qemuBuildChannelsCommandLine: Extract common formatting of 'chardev'

Eric Blake eblake at redhat.com
Fri May 15 18:59:44 UTC 2020


On 5/15/20 10:27 AM, Peter Krempa wrote:
> 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 at redhat.com>
> ---
>   src/qemu/qemu_command.c | 32 +++++++++++---------------------
>   1 file changed, 11 insertions(+), 21 deletions(-)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list