Log of recent changes to libvirt

  • src/Makefile.am (PRIVSYMFILES): Define. Reflect renaming: s/libvirt_sym.version/libvirt.syms/.
  • configure.in: Define ENABLE_DEBUG as an automake conditional.
  • src/.cvsignore: s/libvirt_sym.version/libvirt.syms/.
  • src/.gitignore: Regenerate.
  • src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in.
  • src/libvirt_debug.syms: New file.
  • src/libvirt_private.syms: New file. Move --with-driver-modules symbols into a separate sym file
  • src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
  • src/libvirt_private.syms: Move virDriverLoadModule into...
  • src/libvirt_driver_modules.syms: ... this new file. Move bridge symbols into a separate syms file
  • configure.in: Provide a new --with-bridge option.
  • src/Makefile.am (PRIVSYMFILES) [WITH_BRIDGE]: Append libvirt_bridge.syms.
  • src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
  • src/libvirt_private.syms: Move bridge-related symbols into...
  • src/libvirt_bridge.syms: ...this new file. migrate linux-specific symbol names into their own sym file
  • configure.in (WITH_LINUX): New automake conditional.
  • src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
  • src/libvirt_private.syms: Move two symbol names into...
  • src/libvirt_linux.syms: ...this new file. Remove storage backend symbols from version script
  • src/libvirt_private.syms: Remove virStorageBackend* symbol names. They're linked into qemud, not libvirt. Author: John Levon

Jim Meyering Mon Jan 5 14:22:06 CET

  • po/Makevars (MSGID_BUGS_ADDRESS): Set, to avoid xgettext warning.
  • po/libvirt.pot: Set bug-reporting address. avoid bogus descriptions due to use of gettext with the empty string
  • src/virsh.c: Use `""', not `gettext_noop("")', in numerous vshCmdInfo definitions. The latter provokes a warning from gettext. Makefile.maint: sync from coreutils

Daniel P. Berrange Mon Jan 5 12:54:21 GMT

  • src/nodeinfo.c: s/uint64_t/unsigned long/ for the numa_node_to_cpus() API call.

Jim Meyering Mon Jan 5 09:11:21 CET

  • Makefile.maint (msg_gen_function): Add to the list. mark a few diagnostics for translation
  • src/xen_inotify.c (xenInotifyXendDomainsDirLookup): Mark a diagnostic. HACKING: mention bool and other scalar types, const-correctness

Guido Günther Fri Dec 26 14:22:04 CET

  • docs/formatdomain.html.in: document keymap attribute
  • docs/drvqemu.html.in: add keymap attribute to example

Daniel Veillard Tue Dec 23 14:44:41 CET

  • docs/logging.html docs/logging.html.in: new page documenting the logging system
  • docs/auth.html docs/deployment.html docs/remote.html docs/sitemap.html docs/sitemap.html.in docs/uri.html docs/windows.html: integration in the existing set

Guido Günther Tue Dec 23 14:38:30 CET

  • .x-sc_prohibit_asprintf: new file

Guido Günther Tue Dec 23 13:39:48 CET

  • .x-sc_prohibit_asprintf, Makefile.maint (sc_prohibit_asprintf): new rule
  • src/cgroup.c, src/domain_conf.c, src/driver.c, src/libvirt.c, src/logging.c, src/lxc_container.c, src/lxc_controller.c, src/lxc_driver.c, src/network_conf.c, src/network_driver.c, src/openvz_conf.c, src/qemu_conf.c, src/qemu_driver.c, src/remote_internal.c, src/stats_linux.c, src/storage_backend_iscsi.c, src/storage_driver.c, src/uml_conf.c, src/uml_driver.c, src/util.c, src/veth.c, src/virsh.c, src/xm_internal.c: use virAsprintf instead of asprintf

Cole Robinson Mon Dec 22 11:33:16 EST

  • src/storage_driver.c: Fix storage driver null dereference.

Cole Robinson Mon Dec 22 11:27:52 EST

  • src/virsh.c: Merge xml building for virsh pool-*-as

Daniel Veillard Mon Dec 22 17:13:42 CET

  • qemud/qemud.c qemud/test_libvirtd_qemu.aug tests/Makefile.am tests/daemon-conf: fix make check with the new logging support the messages now carry a timestamp which need to be removed, the daemon needs to exit if the log configuration informations are wrong and we also look at the LIBVIRT_DEBUG environment variable

Daniel Veillard Mon Dec 22 14:07:29 CET

  • qemud/mdns.c: fix a compilation problem in the switch

Daniel Veillard Mon Dec 22 13:56:13 CET

  • qemud/libvirtd.aug qemud/libvirtd.conf: document the new options in the config file and augment the Augeas description

Daniel Veillard Mon Dec 22 13:54:30 CET

  • qemud/event.c qemud/mdns.c qemud/remote.c: switch other pieces of the daemon to the new logging infrastructure

Daniel Veillard Mon Dec 22 13:51:48 CET

  • qemud/qemud.c qemud/qemud.h: replace the daemon old logging infrastructure with the new one and parse configuration options

Daniel Veillard Mon Dec 22 11:51:29 CET

  • src/uml_conf.c: another logging conversion

Daniel Veillard Mon Dec 22 11:47:44 CET

  • src/node_device_devkit.c src/uml_driver.c src/virterror.c: convert old logging to the new API

Daniel Veillard Mon Dec 22 11:45:07 CET

  • src/libvirt.c: convert entry points to new logging

Daniel Veillard Mon Dec 22 11:43:04 CET

  • src/logging.h src/logging.c: commited the more recent version with function name and line number

Daniel Veillard Mon Dec 22 11:33:07 CET

  • src/logging.h src/logging.c: add the infrastructure and internal APIs for logging, some of those APIs should be made public later
  • src/libvirt_sym.version.in: flag the internal APIs as such

Daniel Veillard Mon Dec 22 11:31:08 CET

  • src/xen_internal.h: remove tabs to fix make synatx-check and fix the indentation

  • src/nodeinfo.c: Include <stdint.h>, <numa.h> and "memory.h".
  • src/nodeinfo.h: Include "capabilities.h".
  • examples/domain-events/events-c/Makefile.am:
  • src/Makefile.am: Add $(NUMACTL_CFLAGS) and $(NUMACTL_LIBS) to various compile/link-related variables.
  • src/qemu_conf.c: Include "nodeinfo.h".
  • src/uml_conf.c (umlCapsInitNUMA): Likewise. Include "nodeinfo.h".
  • src/lxc_conf.c: Include "nodeinfo.h".
  • src/openvz_conf.c (openvzCapsInit): And here. Include "nodeinfo.h".
  • src/libvirt_sym.version.in: Add virCapsInitNUMA so that libvirtd can link to this function.

  • src/node_device_hal.c: Include <config.h> before everything else.

Guido Günther Sun Dec 21 00:20:51 CET

  • tests/Makefile.am (TESTS_ENVIRONMENT): set LC_ALL=C

Guido Günther Sat Dec 20 14:10:09 CET

  • src/qemu_driver.c (qemdRemoveDomainStatus): new function qemudDomainAttachDevice, qemudDomainDetachDevice): save status

Guido Günther Sat Dec 20 13:53:14 CET

  • src/domain_conf.c, src/domain_conf.h (virDomainSaveXML): new function
  • src/domain_conf.c (virDomainSaveConfig): split out XML writing into virDomainSaveXML
  • src/qemu_conf.c (qemudDomainStatusParseFile): new function to parse status XML virDomainSaveXML
  • src/libvirt_sym.version.in: add virBufferEscapeString, virDomainSaveXML, virXPathNode symbols

Richard W.M. Jones Fri Dec 19 10:41:00 UTC

  • docs/formatdomain.html.in: Fix documentation typo

Guido Günther Thu Dec 18 17:46:06 CET

  • src/qemu_driver.c (qemudDomainAttachDevice): only free dev on failure

Guido Günther Thu Dec 18 16:13:56 CET

  • src/utilc, src/util.h (virFilePid): declare and define
  • src/libvirt_symver.in: export virFilePid symbol
  • src/qemu_conf.c (qemudBuildCommandLine): pass -pidfile to qemu
  • tests/qemuxml2argvtest.c: initialize driver.stateDir
  • tests/qemuxml2argvdata/qemuxml2argv-*.args: add -pidfile argument

Daniel P. Berrange Thu Dec 18 12:18:58 GMT

  • examples/domain-events/events-c/event-test.c, python/types.c: Replace __FUNCTION__ with __func__ for better portability (John Levon)

Daniel P. Berrange Thu Dec 18 12:18:58 GMT

  • acinclude.m4: Add -Wno-redundant-decls check for compiler
  • python/Makefile.am: Remove hardcoded -Wno-redundant-decls

Daniel P. Berrange Thu Dec 18 12:11:58 GMT

  • src/remote_internal.c: Don't free event after queueing it unless error occurred (David Lively)

Daniel P. Berrange Thu Dec 18 12:07:58 GMT

  • src/test.c: Fix error return value
  • tests/nodeinfotest.c: Disable code compile completely on non-linux (John Levon)

Daniel P. Berrange Thu Dec 18 11:59:58 GMT

  • qemud/remote.c: Fix unused variable compile warning when polkit is disabled (John Levon)

Daniel P. Berrange Thu Dec 18 11:56:58 GMT

  • src/openvz_driver.c, src/proxy_internal.h, src/remote_internal.c, src/storage_backend.c, src/uml_driver.c, src/util.c, src/util.h: s/int/pid_t/

Daniel P. Berrange Thu Dec 18 11:54:58 GMT

  • qemud/Makefile.am: Don't munge default network XML if uuidgen is not present (John Levon)

Daniel P. Berrange Thu Dec 18 11:50:58 GMT

  • qemud/qemud.c: Fix conditional for node devices
  • qemud/remote.c: Remove unneccessary path.h include

      Daniel P. Berrange Wed Dec 17 21:49:39 GMT

      • src/remote_internal.c: Fix unreachable return statement

      Daniel P. Berrange Wed Dec 17 21:45:39 GMT

      • src/driver.h, src/qemu_driver.c, src/remote_internal.c, src/xen_unified.c: s/void */virConnectDomainEventCallback/ for domain events callbacks

      Daniel P. Berrange Wed Dec 17 21:41:39 GMT

      • src/libvirt_sym.version.in: Remove non-existant symbols

      Daniel P. Berrange Wed Dec 17 21:35:39 GMT

      • configure.ac: Check linker flag used to set versioning script for ELF
      • src/Makefile.am: Use platform specific linker flag for version script as per configure test
      • src/libvirt_sym.version.in: Switch to '#' for comments

      Daniel P. Berrange Wed Dec 17 21:30:39 GMT

      • src/xen_internal.c, src/xen_unified.c, src/xs_internal.c: s/__sun__/__sun/

      Daniel P. Berrange Wed Dec 17 21:17:39 GMT

      • src/proxy_internal.c, src/remote_internal.c, src/test.c, src/xen_inotify.c, src/xen_inotify.h, src/xen_internal.c, src/xen_internal.h, src/xen_unified.c, src/xend_internal.c, src/xend_internal.h, src/xm_internal.c, src/xm_internal.h, src/xs_internal.c, src/xs_internal.h: s/int/virDrvOpenStatus/

      Daniel P. Berrange Wed Dec 17 21:10:39 GMT

      • src/openvz_driver.c: Fix crash with setting CPU value during define
      • src/openvz_conf.c: Initialize the domain mutex when loading config files

      Daniel P. Berrange Wed Dec 17 20:53:39 GMT

      • src/domain_conf.c, src/node_device_conf.c, src/node_device_conf.h, src/storage_conf.c, src/storage_conf.h: Remove trailing semi-colon causing empty statement compile warnings on solaris (John Levon).

      Daniel P. Berrange Wed Dec 17 18:10:39 GMT

      • src/domain_conf.c, src/qemu_conf.c, src/qemu_driver.c: Remove use of anonymous union
      • src/domain_conf.h: Give a name to the anonymous union for host devices. Add 'dummy' field to avoid empty struct
      • src/remote_internal.c: Remove gcc-ism in empty "x ? : y"

      • src/storage_backend_fs.c: Don't include <endian.h> or <byteswap.h>. Use those instead of __BIG_ENDIAN and __LITTLE_ENDIAN.

      Daniel P. Berrange Wed Dec 17 18:03:39 GMT

      • qemud/qemud.c, src/util.c, tests/testutils.c: Remove use of _PATH_DEVNULL in favour of "/dev/null" for portability