
27 Nov
2017
27 Nov
'17
12:52 p.m.
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 <abologna@redhat.com> --- src/qemu/qemu_domain.c | 50 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 20 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>