[libvirt] [PATCH v2 07/21] conf: Improve virDomainChrTargetDefFormat()

Pavel Hrdina phrdina at redhat.com
Thu Nov 23 14:33:03 UTC 2017


On Tue, Nov 21, 2017 at 05:42:17PM +0100, Andrea Bolognani wrote:
> Make the switch statement type-aware, avoid calling
> virDomainChrTargetTypeToString() more than once and check its
> return value before using it.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  src/conf/domain_conf.c | 29 ++++++++++++++++++++++-------
>  1 file changed, 22 insertions(+), 7 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171123/ec75496a/attachment-0001.sig>


More information about the libvir-list mailing list