1. 19 6月, 2008 1 次提交
    • C
      When doing the conversion to danpb's new memory API, a small bug was · a24b1d9e
      Chris Lalancette 提交于
      introduced into the qemudNetworkIfaceConnect() function.  In particular, there
      is a call:
      
          if (VIR_ALLOC_N(vm->tapfds, vm->ntapfds+2) < 0)
              goto no_memory;
      
      However, the tapfds structure is used to track *all* of the tap fds, and is
      called once for each network that is being attached to the domain.  VIR_ALLOC_N
      maps to calloc().  So the first network would work just fine, but if you had
      more than one network, subsequent calls to this function would blow away the
      stored fd's that were already there and fill them all in with zeros.  This
      causes multiple problems, from the qemu domains not starting properly to
      improper cleanup on shutdown.  The attached patch just changes the VIR_ALLOC_N()
      to a VIR_REALLOC_N(), and everything is happy again.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      a24b1d9e
  2. 17 6月, 2008 6 次提交
  3. 13 6月, 2008 3 次提交
  4. 12 6月, 2008 5 次提交
  5. 11 6月, 2008 3 次提交
  6. 10 6月, 2008 5 次提交
  7. 09 6月, 2008 1 次提交
  8. 06 6月, 2008 3 次提交
  9. 05 6月, 2008 2 次提交
    • R
      virDomainBlockPeek call · 8354895e
      Richard W.M. Jones 提交于
      	* 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.
      8354895e
    • D
      Fix a few issues related to restart of libvirtd with containers running. · 0bd57cdb
      David L. Leskovec 提交于
      Mon May 12 23:32:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
      
      	* src/lxc_driver.c: Add sanity 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
      0bd57cdb
  10. 03 6月, 2008 1 次提交
  11. 02 6月, 2008 1 次提交
  12. 30 5月, 2008 9 次提交