]> xenbits.xensource.com Git - libvirt.git/commit
domain: add implicit controllers from post parse
authorCole Robinson <crobinso@redhat.com>
Fri, 8 Jan 2016 03:49:57 +0000 (22:49 -0500)
committerCole Robinson <crobinso@redhat.com>
Fri, 19 Feb 2016 14:45:23 +0000 (09:45 -0500)
commit4066c734289c780cd57dea125cd0c1a298a473b4
treeffab5051a55c6a8a4149fc8196f4600aef7b0bd0
parent5591ca502d7e74392184f19e367a0ab9f00a8646
domain: add implicit controllers from post parse

Seems like the natural fit, since we are already adding other XML bits
in the PostParse routine.

Previously AddImplicitControllers was only called at the end of XML
parsing, meaning code that builds a DomainDef by hand had to manually
call it. Now those PostParse callers get it for free.

There's some test churn here; xen xm and sexpr test suite bits weren't
calling this before, but now they are, so you'll see new IDE controllers.
I don't think this will cause problems in practice, since the code already
needs to handle these implicit controllers like in the case when a user
defines their own XML.
61 files changed:
src/conf/domain_conf.c
tests/sexpr2xmldata/sexpr2xml-fv-autoport.xml
tests/sexpr2xmldata/sexpr2xml-fv-empty-kernel.xml
tests/sexpr2xmldata/sexpr2xml-fv-force-hpet.xml
tests/sexpr2xmldata/sexpr2xml-fv-force-nohpet.xml
tests/sexpr2xmldata/sexpr2xml-fv-localtime.xml
tests/sexpr2xmldata/sexpr2xml-fv-net-netfront.xml
tests/sexpr2xmldata/sexpr2xml-fv-parallel-tcp.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-dev-2-ports.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-dev-2nd-port.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-file.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-null.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-pipe.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-pty.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-stdio.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp-telnet.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-udp.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-unix.xml
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
tests/sexpr2xmldata/sexpr2xml-fv-usbmouse.xml
tests/sexpr2xmldata/sexpr2xml-fv-usbtablet.xml
tests/sexpr2xmldata/sexpr2xml-fv-utc.xml
tests/sexpr2xmldata/sexpr2xml-fv-v2.xml
tests/sexpr2xmldata/sexpr2xml-fv.xml
tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml
tests/sexpr2xmldata/sexpr2xml-vif-rate.xml
tests/xlconfigdata/test-fullvirt-direct-kernel-boot-bogus-extra.xml
tests/xlconfigdata/test-fullvirt-direct-kernel-boot-extra.xml
tests/xlconfigdata/test-fullvirt-direct-kernel-boot.xml
tests/xlconfigdata/test-fullvirt-multiusb.xml
tests/xlconfigdata/test-new-disk.xml
tests/xlconfigdata/test-spice-features.xml
tests/xlconfigdata/test-spice.xml
tests/xlconfigdata/test-vif-rate.xml
tests/xmconfigdata/test-escape-paths.xml
tests/xmconfigdata/test-fullvirt-default-feature.xml
tests/xmconfigdata/test-fullvirt-force-hpet.xml
tests/xmconfigdata/test-fullvirt-force-nohpet.xml
tests/xmconfigdata/test-fullvirt-localtime.xml
tests/xmconfigdata/test-fullvirt-net-netfront.xml
tests/xmconfigdata/test-fullvirt-new-cdrom.xml
tests/xmconfigdata/test-fullvirt-parallel-tcp.xml
tests/xmconfigdata/test-fullvirt-serial-dev-2-ports.xml
tests/xmconfigdata/test-fullvirt-serial-dev-2nd-port.xml
tests/xmconfigdata/test-fullvirt-serial-file.xml
tests/xmconfigdata/test-fullvirt-serial-null.xml
tests/xmconfigdata/test-fullvirt-serial-pipe.xml
tests/xmconfigdata/test-fullvirt-serial-pty.xml
tests/xmconfigdata/test-fullvirt-serial-stdio.xml
tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.xml
tests/xmconfigdata/test-fullvirt-serial-tcp.xml
tests/xmconfigdata/test-fullvirt-serial-udp.xml
tests/xmconfigdata/test-fullvirt-serial-unix.xml
tests/xmconfigdata/test-fullvirt-sound.xml
tests/xmconfigdata/test-fullvirt-usbmouse.xml
tests/xmconfigdata/test-fullvirt-usbtablet.xml
tests/xmconfigdata/test-fullvirt-utc.xml
tests/xmconfigdata/test-no-source-cdrom.xml
tests/xmconfigdata/test-pci-devs.xml