[libvirt] [PATCH] conf: report enum errors in virDomainInputDefValidate

Andrea Bolognani abologna at redhat.com
Tue Aug 28 10:40:01 UTC 2018


On Tue, 2018-08-28 at 12:24 +0200, Ján Tomko wrote:
> Commit deb057f added a switch without a default case.
> Add it and call virReportEnumRangeError for _LAST too.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
>  src/conf/domain_conf.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list