]> xenbits.xensource.com Git - libvirt.git/commit
conf: iterate video model children in parent function
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 14 Nov 2019 21:59:14 +0000 (15:59 -0600)
committerCole Robinson <crobinso@redhat.com>
Fri, 15 Nov 2019 18:30:55 +0000 (13:30 -0500)
commit333cca0bfc035dbed0c4c07dc816f5c3fcd71af8
treed82215f333a75255af6844f30822a4bd72f0e6cf
parenta74df786a22488cd91865664df17e7c6466e8a85
conf: iterate video model children in parent function

Previously, we were passing the video "model" node to the "acceleration"
and "resolution" parsing functions and requiring them to iterate over
the children to discover and parse the appropriate node. It makes more
sense to move this responsibility up to the parent function and just
pass these functions the node that needs to be parsed.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
src/conf/domain_conf.c