]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xenconfig: move <os> parsing/formating to config-specific files
authorJim Fehlig <jfehlig@suse.com>
Fri, 20 Mar 2015 00:28:49 +0000 (18:28 -0600)
committerJim Fehlig <jfehlig@suse.com>
Thu, 16 Apr 2015 22:11:01 +0000 (16:11 -0600)
commit717a92513d37400e0656699dbaed320f1259aacc
tree764939178b1233b2d0a17e12d6d32ec1464f700d
parenta9b0d647bcc28cc431dbe02cc12525e4c1d80645
xenconfig: move <os> parsing/formating to config-specific files

xl and xm differ a bit in how <os> configuration is represented.
E.g. xl config supports <os><nvram .../></os> via its "bios"
setting.

Move the xenParseOS and xenFormatOS functions from xen_common.c
and copy to xen_xl.c and xen_xm.c so they can be customized for
xm vs xl config.  An unfortunate fallout is reordering of entries
in the test config files.
39 files changed:
src/xenconfig/xen_common.c
src/xenconfig/xen_xl.c
src/xenconfig/xen_xm.c
tests/xlconfigdata/test-fullvirt-multiusb.cfg
tests/xlconfigdata/test-new-disk.cfg
tests/xlconfigdata/test-spice.cfg
tests/xmconfigdata/test-escape-paths.cfg
tests/xmconfigdata/test-fullvirt-force-hpet.cfg
tests/xmconfigdata/test-fullvirt-force-nohpet.cfg
tests/xmconfigdata/test-fullvirt-localtime.cfg
tests/xmconfigdata/test-fullvirt-net-ioemu.cfg
tests/xmconfigdata/test-fullvirt-net-netfront.cfg
tests/xmconfigdata/test-fullvirt-new-cdrom.cfg
tests/xmconfigdata/test-fullvirt-old-cdrom.cfg
tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg
tests/xmconfigdata/test-fullvirt-serial-dev-2-ports.cfg
tests/xmconfigdata/test-fullvirt-serial-dev-2nd-port.cfg
tests/xmconfigdata/test-fullvirt-serial-file.cfg
tests/xmconfigdata/test-fullvirt-serial-null.cfg
tests/xmconfigdata/test-fullvirt-serial-pipe.cfg
tests/xmconfigdata/test-fullvirt-serial-pty.cfg
tests/xmconfigdata/test-fullvirt-serial-stdio.cfg
tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.cfg
tests/xmconfigdata/test-fullvirt-serial-tcp.cfg
tests/xmconfigdata/test-fullvirt-serial-udp.cfg
tests/xmconfigdata/test-fullvirt-serial-unix.cfg
tests/xmconfigdata/test-fullvirt-sound.cfg
tests/xmconfigdata/test-fullvirt-usbmouse.cfg
tests/xmconfigdata/test-fullvirt-usbtablet.cfg
tests/xmconfigdata/test-fullvirt-utc.cfg
tests/xmconfigdata/test-no-source-cdrom.cfg
tests/xmconfigdata/test-paravirt-net-e1000.cfg
tests/xmconfigdata/test-paravirt-net-vifname.cfg
tests/xmconfigdata/test-paravirt-new-pvfb-vncdisplay.cfg
tests/xmconfigdata/test-paravirt-new-pvfb.cfg
tests/xmconfigdata/test-paravirt-old-pvfb-vncdisplay.cfg
tests/xmconfigdata/test-paravirt-old-pvfb.cfg
tests/xmconfigdata/test-paravirt-vcpu.cfg
tests/xmconfigdata/test-pci-devs.cfg