]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virCaps: conf: start splitting out irrelevat data
authorPeter Krempa <pkrempa@redhat.com>
Tue, 5 Mar 2013 15:17:24 +0000 (16:17 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 13 Mar 2013 08:27:14 +0000 (09:27 +0100)
commit27cf98e2d12cca72ea2001024b745a8f599ef68d
tree0a1f0d9181aa30d21e1c8292e59679486bd21f4e
parentbe27de6e8d2f762285000d706a1ea2df69638c3e
virCaps: conf: start splitting out irrelevat data

The virCaps structure gathered a ton of irrelevant data over time that.
The original reason is that it was propagated to the XML parser
functions.

This patch aims to create a new data structure virDomainXMLConf that
will contain immutable data that are used by the XML parser. This will
allow two things we need:

1) Get rid of the stuff from virCaps

2) Allow us to add callbacks to check and add driver specific stuff
after domain XML is parsed.

This first attempt removes pointers to private data allocation functions
to this new structure and update all callers and function that require
them.
65 files changed:
src/Makefile.am
src/conf/capabilities.h
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/snapshot_conf.c
src/conf/snapshot_conf.h
src/esx/esx_driver.c
src/esx/esx_private.h
src/libvirt_private.syms
src/libxl/libxl_conf.h
src/libxl/libxl_driver.c
src/lxc/lxc_conf.c
src/lxc/lxc_conf.h
src/lxc/lxc_controller.c
src/lxc/lxc_domain.c
src/lxc/lxc_domain.h
src/lxc/lxc_driver.c
src/lxc/lxc_process.c
src/openvz/openvz_conf.c
src/openvz/openvz_conf.h
src/openvz/openvz_driver.c
src/parallels/parallels_driver.c
src/parallels/parallels_utils.h
src/phyp/phyp_driver.c
src/phyp/phyp_driver.h
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c
src/security/virt-aa-helper.c
src/test/test_driver.c
src/uml/uml_conf.h
src/uml/uml_driver.c
src/vbox/vbox_tmpl.c
src/vmware/vmware_conf.c
src/vmware/vmware_conf.h
src/vmware/vmware_driver.c
src/xen/xen_driver.c
src/xen/xen_driver.h
src/xen/xend_internal.c
src/xen/xm_internal.c
src/xenapi/xenapi_driver.c
src/xenapi/xenapi_driver_private.h
tests/domainsnapshotxml2xmltest.c
tests/lxcxml2xmltest.c
tests/qemuargv2xmltest.c
tests/qemumonitorjsontest.c
tests/qemumonitortestutils.c
tests/qemumonitortestutils.h
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/qemuxmlnstest.c
tests/securityselinuxlabeltest.c
tests/testutilsqemu.c
tests/testutilsqemu.h
tests/testutilsxen.c
tests/testutilsxen.h
tests/xmconfigtest.c
tests/xml2sexprtest.c
tests/xml2vmxtest.c