[libvirt] [PATCH v3 17/28] qemu: Remove redundancy in qemuBuildSerialChrDeviceStr()

Pavel Hrdina phrdina at redhat.com
Mon Nov 27 13:14:47 UTC 2017


On Sun, Nov 26, 2017 at 11:25:38PM +0100, Andrea Bolognani wrote:
> Instead duplicating the capability check for each possible target
> model, introduce a small helper that matches the target model with
> the corresponding capability and collapse all existing checks into
> a single one.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  src/qemu/qemu_command.c | 39 ++++++++++++++++++++++++++++-----------
>  1 file changed, 28 insertions(+), 11 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171127/f200b375/attachment-0001.sig>


More information about the libvir-list mailing list