On 9/10/19 10:45 AM, Jiri Denemark wrote:
The only caller for which this check makes sense is virDomainDefParse.
Thus the check should be moved there.

Jiri Denemark (2):
   conf: Add cleanup label to virDomainDefParse
   conf: Avoid checking root element name in virDomainDefParseNode

  src/conf/domain_conf.c | 29 ++++++++++++++++-------------
  1 file changed, 16 insertions(+), 13 deletions(-)


Reviewed-by: Michal Privoznik <[email protected]>

Michal

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to