Re: [PATCH 7/7] conf: Rework virDomainDeviceDefPostParseCommon()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrea Bolognani <abologna@xxxxxxxxxx> [2019-02-15, 12:55PM +0100]:
> +    case VIR_DOMAIN_DEVICE_NONE:
> +        virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
> +                       _("unexpected VIR_DOMAIN_DEVICE_NONE"));

Can we find a better error message here?

> +        break;
> +
> +    case VIR_DOMAIN_DEVICE_LAST:
> +    default:
> +        virReportEnumRangeError(virDomainDeviceType, dev->type);
> +        break;
> +    }
> +
> +    return ret;
>  }
>  
>  
> -- 
> 2.20.1
> 
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list
> 

-- 
IBM Systems
Linux on Z & Virtualization Development
--------------------------------------------------
IBM Deutschland Research & Development GmbH
Schönaicher Str. 220, 71032 Böblingen
Phone: +49 7031 16 1819
--------------------------------------------------
Vorsitzende des Aufsichtsrats: Matthias Hartmann
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294 

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux