Log of recent changes to libvirt

Atsushi SAKAI Mon Jun 30 14:07:56 JST

  • src/veth.c: add WITH_LXC ifdef

Dan Smith Fri Jun 27 15:05:31 PDT

  • src/veth.c: remove unused and fix uninitialized variable

Atsushi SAKAI Thu Jun 26 19:51:19 JST

  • src/xm_internal.c: replace tabs to spaces

Atsushi SAKAI Thu Jun 26 18:25:25 JST

  • src/driver.h src/internal.h src/libvirt.c src/qemu_driver.c src/remote_internal.c: add WITH_LIBVIRTD flag consideration
  • tests/Makefile.am tests/testutils.c tests/testutilsqemu.c tests/virshtest.c: add WITH_LIBVIRTD flag consideration
  • qemud/Makefile.am: Pass $(LIBVIRT_FEATURES) to consider WITH_LIBVIRTD

Dan Smith Thu Jun 26 16:09:48 PDT

  • src/veth.c src/veth.h: Support for managing veth pairs
  • src/lxc_conf.c src/lxc_conf.h src/lxc_container.c src/lxc_driver.c: Add interface parsing and setup for LXC

Jim Meyering Wed Jun 25 16:21:12 CEST

  • Makefile.maint (strftime-check): Add "@" prefix.

Daniel Veillard Wed Jun 25 13:40:25 CEST

  • python/types.c: patch from Ryan Scott to remove misplaced verbosity when compiling in debug mode.

Daniel Veillard Wed Jun 25 10:52:05 CEST

  • configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.4 release
  • src/xm_internal.c: fix xm driver serialization escapes
  • tests/xmconfigtest.c tests/xmconfigdata/test-escape-paths.cfg tests/xmconfigdata/test-escape-paths.xml: add test for previous problem

Daniel Veillard Wed Jun 25 10:48:39 CEST

  • po/*: updated a couple of localizations and regenerated the files

Daniel P. Berrange Tue Jun 24 15:59:33 EST

  • src/util.h, src/util.c: Added helpers for managing enumerations and conversion to/from string vs integer format

Daniel P. Berrange Tue Jun 24 15:29:33 EST

  • src/storage_backend.h, src/storage_backend.c: Fix const-ness of virStorageBackendRunProgRegex()

Daniel Veillard Thu Jun 19 16:29:33 CEST

  • src/xen_internal.c src/xend_internal.c: fix a couple of issues for List functions where max given is 0

Jim Meyering Thu Jun 19 13:50:41 CEST

  • src/util.c (fread_file_lim): Use VIR_REALLOC_N, not VIR_ALLOC_N. Bug introduced in d3470efcda15fac0aaa76cd25df319c217b.
  • tests/Makefile.am (test_scripts): Add read-bufsiz.
  • tests/read-bufsiz: New test for the above.

Chris Lalancette Thu Jun 19 13:47:00 CEST

  • src/memory.c: the new memory API changed the semantics of ALLOC, such that calling VIR_ALLOC(0) returned NULL. This differed from glibc semantics for malloc(). Remove the offending code to restore glibc semantics.

Chris Lalancette Thu Jun 19 12:38:00 CEST

  • src/qemu_conf.c: fix a bug where we were calling VIR_ALLOC_N in the qemu driver instead of VIR_REALLOC_N, which was causing libvirt to not start domains with multiple networks properly.

Chris Lalancette Tue Jun 17 14:43:00 CEST

  • src/storage_backend.c,src/storage_backend.h, src/storage_backend_iscsi.c, src/storage_backend_logical.c: Change virStorageBackendRunProgRegex to return the exit status instead of reporting an error with non-zero return code.
  • src/util.c: add carriage returns to all virLog() calls since they really just map to fprintf(stderr)
  • src/storage_backend_iscsi.c: Change the call to will work on all iscsiadm version back to Fedora Core 6.
  • src/storage_backend_iscsi.c: Move the iscsiadm sendtargets discovery mechanism to only be called during --login; we don't need it in
  • src/storage_backend_iscsi.c: Rewrite the findLuns function to only use sysfs to find LUNs. Use sysfs "type" parameter to determine if this is a valid LUN or not. Fix a race condition between sysfs scanning and udev. Constify all of the "iscsiadm" strings.

Daniel Veillard Fri Jun 13 11:07:52 CEST

  • Makefile.am: adding autogen.sh to EXTRA_DIST

Daniel Veillard Fri Jun 13 09:55:17 CEST

  • src/qemu_conf.c: patch from Kaitlin Rupert, dynamic devices for network should be defined in an 'interface' node not 'net'

Daniel Veillard Thu Jun 12 17:49:23 CEST

  • configure.in NEWS libvirt.spec* doc/* po/*: making libvirt-0.4.3 release

Daniel P. Berrange Thu Jun 12 14:46:08 BST

  • src/lxc_driver.c, src/openvz_driver.c: Add missing driver entry points
  • src/lxc_conf.c: Re-arrange headers to comply with standard
  • tests/testutils.c: Fix use of signed/unsigned ints

Daniel P. Berrange Thu Jun 12 14:46:08 BST

  • src/qemu_driver.c: Fix saving of iptables rules

Daniel P. Berrange Thu Jun 12 11:18:08 BST

  • src/qemu_conf.c: Deal with failure due to inactive virtual network when creating domain.

Daniel Veillard Thu Jun 12 10:53:08 CEST

  • src/qemu_driver.c: patch from Kaitlin Rupert, changing vcpu or memory of an active domain is a NO_SUPPORT not INTERNAL_ERROR

Daniel Veillard Wed Jun 11 17:21:13 CEST

  • po/*: update and regenerated

Daniel P. Berrange Wed Jun 11 12:25:57 BST

  • src/Makefile.am: Tweak install rule to fix RPM build

Daniel Veillard Wed Jun 11 09:42:57 CEST

  • python/libvir.py python/libvirt-python-api.xml: more python cleanups by Cole Robinson

Daniel Veillard Tue Jun 10 17:34:12 CEST

  • configure.in: patch from Cole Robinson to reactivate storage support

Daniel Veillard Tue Jun 10 17:10:31 CEST

  • python/generator.py python/libvir.c python/libvirt-python-api.xml: Apply patch from Cole Robinson fixing UUIDString for python

Richard W.M. Jones Tue Jun 10 15:33:00 BST

  • src/xm_internal.c: Pass responsibility for checking syntax of XM block devices over the XenD (see also Xen cset ).

Richard W.M. Jones Tue Jun 10 11:34:00 BST

  • include/libvirt/libvirt.h.in, src/libvirt.c, src/driver.h, src/libvirt_sym.version: New virDomainMemoryPeek API.
  • qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c: Support for remote.
  • src/qemu_driver.c: QEMU driver implementation of API.
  • src/test.c: Test driver (null) implementation of API.
  • docs/hvsupport.html.in: Document API.
  • libvirt.spec.in: New path /var/cache/libvirt for temporary storage of memory images.
  • qemud/libvirtd.init.in: Remove any old temp files in
  • src/Makefile.am: make install creates /var/cache/libvirt.
  • configure.in: Detect mkdir -p.

David L. Leskovec Mon Jun 9 15:42:34 PST

  • src/lxc_driver.c: Console element is output only. Always open new PTY when starting a container. Fix string overrun when storing console name in VM def struct

Richard W.M. Jones Mon Jun 9 13:14:00 BST

  • src/xend_internal.c: Change virXendError function to take varargs. Better error messages throughout.

Daniel P. Berrange Fri Jun 6 12:01:00 BST

  • src/bridge.c, src/conf.c, src/iptables.c, src/lxc_conf.c, src/lxc_container.c, src/lxc_driver.c, src/openvz_conf.c, src/openvz_driver.c, src/proxy_internal.c, src/remote_internal.c, src/sexpr.c, src/storage_backend.c, src/storage_backend_disk.c, src/storage_backend_fs.c, src/storage_backend_iscsi.c, src/storage_backend_logical.c, src/storage_conf.c, src/storage_driver.c, src/xen_internal.c, src/xen_unified.c, src/xend_internal.c, src/xmlrpc.c: Switch over to use the internal memory allocation APIs.

Daniel P. Berrange Fri Jun 6 11:41:00 BST

  • qemud/event.c, qemud/mdns.c, qemud/qemud.c, qemud/remote.c: Switch over to use internal memory allocation APIs.
  • src/libvirt_sym.version, src/memory.c, src/memory.h: Export virAlloc/Realloc/Free to use by libvirtd daemon

Richard W.M. Jones Thu Jun 5 22:08:00 BST

  • qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c: Remote support.
  • qemud/remote_dispatch_localvars.h, qemud/remote_dispatch_proc_switch.h, qemud/remote_dispatch_prototypes.h, qemud/remote_protocol.c, qemud/remote_protocol.h: Generated files for remote support.
  • src/xen_unified.c, src/driver.h, src/libvirt.c: Small fix - pass flags around internally.
  • src/qemu_driver.c: Support for QEMU.
  • src/xend_internal.c: Remove redundant fstat call from Xen.

Richard W.M. Jones Thu Jun 5 14:10:00 BST

  • configure.in: Document AC_SYS_LARGEFILE.
  • docs/hvsupport.html.in: Document HV support for virDomainBlockPeek.
  • include/libvirt/libvirt.h.in, src/driver.h, src/libvirt.c, src/libvirt_sym.version: Add virDomainBlockPeek infrastructure.
  • src/qemu_driver.c, src/test.c: Null versions of this call.
  • src/xen_unified.c, src/xend_internal.c, src/xend_internal.h, src/xm_internal.c, src/xm_internal.h: Xen implementation.
  • tests/sexpr2xmldata/sexpr2xml-curmem.xml, tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: XML output has been reordered slightly in the Xen driver, but should be functionally the same.

David L. Leskovec Wed Jun 4 23:02:21 PST

  • src/lxc_driver.c: Add sanity check of tty pid before kill() Ignore ECHILD errors during VM cleanup Call functions to store tty pid and cleanup tty pid file
  • src/lxc_conf.h: Add function to verify container process exists Add facilities to manage storing the tty forward process pid
  • src/lxc_conf.c: Add function to verify container process exists Call function to verify container process during config load Add facilities to manage storing the tty forward process pid Call function to load tty pid during load config

Richard W.M. Jones Tue Jun 3 08:58:00 BST

  • src/xm_internal.c: If vcpu cpuset attribute is invalid then display an error instead of silently ignoring it

Richard W.M. Jones Mon Jun 2 12:52:00 BST

  • HACKING: Added section "general tips for contributing patches" to this file.

Daniel P. Berrange Thu May 29 16:43:00 EST

  • autobuild.sh: Only run converage tests if lcov is installed

Daniel P. Berrange Thu May 29 16:09:00 EST

  • qemud/Makefile.am: Change internal.h to qemud.h to fix

Daniel P. Berrange Thu May 29 15:41:00 EST

  • tests/testutils.c: Fix warning when OOM testing is disabled

Daniel P. Berrange Thu May 29 15:25:00 EST

  • configure.in, scripts/*: Remove all coverage helper scripts in favour of using lcov
  • src/Makefile.am, Makefile.am: Switch to use lcov for pretty code coverage reports

Daniel P. Berrange Thu May 29 15:17:00 EST

  • src/libvirt.c: Don't register storage API if daemon is disabled.
  • configure.in: Fix check for parted to deal with missing devel package correctly

Daniel P. Berrange Thu May 29 15:17:00 EST

  • src/conf.c, src/conf.h, src/qemu_conf.c, src/qemu_driver.c, src/test.c, src/util.c, src/xend_internal.c, src/xm_internal.c, src/xml.c, tests/virshtest.c: Switch over to using new memory allocation APIs.

Daniel P. Berrange Thu May 29 14:46:00 EST

  • src/memory.h, src/memory.c, tests/testutils.c: Pass allocation number to hook callback

Daniel P. Berrange Thu May 29 14:45:00 EST

  • src/buf.c: Convert to use new memory allocation APIs

Daniel P. Berrange Thu May 29 14:44:00 EST

  • src/xend_internal.c: Fix missing check for failure

Daniel P. Berrange Thu May 29 11:29:00 EST

  • tests/nodeinfotest.c, tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c, tests/qparamtest.c, tests/sexpr2xmltest.c, tests/statstest.c, tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c: Convert over to new test suite infrastructure to enable OOM testing. Avoid use of the abs_top_srcdir variable in favour of abs_srcdir

Daniel P. Berrange Thu May 29 11:23:00 EST

  • src/capabilities.c: Avoiding deferencing NULL pointer in cleanup code
  • src/qemu_conf.c: Free sound structs on cleanup
  • src/qparams.c: raise a libvirt error upon OOM