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

Ján Tomko jtomko at redhat.com
Tue May 28 16:04:24 UTC 2019


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 <abologna at redhat.com>
>---
> src/qemu/qemu_command.c | 10 ++++++++--
> src/qemu/qemu_domain.c  |  1 +
> 2 files changed, 9 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190528/a8127d91/attachment-0001.sig>


More information about the libvir-list mailing list