Re: [libvirt] [PATCH 01/11] qemu: Fix switch() statements for virDomainIOMMUModel

2019-05-28 Thread Ján Tomko
On Tue, May 28, 2019 at 05:28:54PM +0200, Andrea Bolognani wrote: Ensure unexpected values are dealt with correctly, that is by invoking virReportEnumRangeError() and immediately returning a negative value to the caller. Signed-off-by: Andrea Bolognani --- src/qemu/qemu_command.c | 10 -

[libvirt] [PATCH 01/11] qemu: Fix switch() statements for virDomainIOMMUModel

2019-05-28 Thread Andrea Bolognani
Ensure unexpected values are dealt with correctly, that is by invoking virReportEnumRangeError() and immediately returning a negative value to the caller. Signed-off-by: Andrea Bolognani --- src/qemu/qemu_command.c | 10 -- src/qemu/qemu_domain.c | 1 + 2 files changed, 9 insertions(+)