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(a)redhat.com>
---
src/conf/domain_conf.c | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>