Re: [libvirt] [PATCH v3 12/28] qemu: Improve qemuDomainChrTargetDefValidate()

2017-11-27 Thread Pavel Hrdina
On Sun, Nov 26, 2017 at 11:25:33PM +0100, Andrea Bolognani wrote: > Instead of validating each target type / address type combination > separately, create a small helper to perform the matching and > collapse all existing checks into a single one. > > Signed-off-by: Andrea Bolognani

[libvirt] [PATCH v3 12/28] qemu: Improve qemuDomainChrTargetDefValidate()

2017-11-26 Thread Andrea Bolognani
Instead of validating each target type / address type combination separately, create a small helper to perform the matching and collapse all existing checks into a single one. Signed-off-by: Andrea Bolognani --- src/qemu/qemu_domain.c | 50