]> xenbits.xensource.com Git - libvirt.git/commit
virCaps: get rid of defaultConsoleTargetType callback
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Mar 2013 20:39:34 +0000 (21:39 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Apr 2013 20:42:39 +0000 (22:42 +0200)
commit482e5f159c24ba8b25b195de92b7266bb2a92820
treed6ae689efefb2675bf242fe11d8d18d990b1d917
parent46becc18ba125d0fbe2b39c054a105fe9c97c5ab
virCaps: get rid of defaultConsoleTargetType callback

This patch refactors various places to allow removing of the
defaultConsoleTargetType callback from the virCaps structure.

A new console character device target type is introduced -
VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_NONE - to mark that no type was
specified in the XML. This type is at the end converted to the standard
VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_SERIAL. Other types that are
different from this default have to be processed separately in the
device post parse callback.
32 files changed:
src/conf/capabilities.h
src/conf/domain_conf.c
src/conf/domain_conf.h
src/esx/esx_driver.c
src/libxl/libxl_conf.c
src/libxl/libxl_driver.c
src/lxc/lxc_conf.c
src/lxc/lxc_domain.c
src/openvz/openvz_conf.c
src/openvz/openvz_driver.c
src/parallels/parallels_driver.c
src/phyp/phyp_driver.c
src/qemu/qemu_capabilities.c
src/qemu/qemu_domain.c
src/security/virt-aa-helper.c
src/test/test_driver.c
src/uml/uml_conf.c
src/uml/uml_driver.c
src/vbox/vbox_tmpl.c
src/vmware/vmware_conf.c
src/xen/xen_driver.c
src/xen/xen_driver.h
src/xen/xen_hypervisor.c
src/xenapi/xenapi_driver.c
tests/testutilslxc.c
tests/testutilsqemu.c
tests/testutilsxen.c
tests/testutilsxen.h
tests/vmx2xmltest.c
tests/xmconfigtest.c
tests/xml2sexprtest.c
tests/xml2vmxtest.c