From c273d72de6911de5096ce3bad53ac5e262ffa807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 11 Apr 2016 14:06:03 +0200 Subject: [PATCH] conf: move default video addition after XML parsing Separate parsing of the XML from auto-generating the device. (cherry picked from commit 6879be484c9502394e55c799f5bb95c24c510644) --- src/conf/domain_conf.c | 56 +++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 22 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index d4c78fdb9f..11e867335d 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -16374,28 +16374,6 @@ virDomainDefParseXML(xmlDocPtr xml, VIR_FREE(nodes); - /* For backwards compatibility, if no