Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 27, 2012
  1. Jon Ludlam

    Detect premature server shutdown in NBD client

    jonludlam authored
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Commits on Apr 25, 2012
  1. Jon Ludlam

    Ensure that an zero length recv in nbdserver_clientcb closes the conn…

    jonludlam authored
    …ection
    
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Commits on Apr 11, 2012
  1. Jon Ludlam

    Add the ability to remove a secondary image on unpause

    jonludlam authored
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
  2. Jon Ludlam

    Add status reporting of the mirror status.

    jonludlam authored
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Commits on Mar 27, 2012
  1. Jon Ludlam

    Use async IO in block-nbd.c

    jonludlam authored
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Commits on Feb 23, 2012
  1. Jon Ludlam

    Several minor fixups:

    jonludlam authored
    * On resume, only re-enable events on the listening TCP socket if it had
      previously been in use
    * Remove several spammy debug messages
    * Kill the read path in the NBD client code - this is for mirroring
      only.
    
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
  2. Jon Ludlam

    * Add pause/unpause logic to the nbd server

    jonludlam authored
    * clean up stale unix domain sockets on image close.
    * Don't close the nbdserver when you detach the vdi
  3. Jon Ludlam

    Rename nbd.h to tapdisk-nbd.h to avoid collision with system nbd.h

    jonludlam authored
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Commits on Feb 9, 2012
  1. Jon Ludlam

    Several changes:

    jonludlam authored
    * NBD client/server for tapdisk.
    * block-export for mirroring to xapi's import-raw-vdi
    * The ability to add a mirror when unpausing a VDI
Commits on Dec 9, 2011
  1. CA-70652: fix a memory leak

    Andrei Lifchits authored
Commits on Sep 8, 2011
  1. ctl/vhd: Add libtool -version-info.

    Daniel Stodden authored
    Using -release is cheap, but results in hardcoded version dependencies
    which is evil.
    
    We start out with 1:1:1 for both libvhd and libblktapctl.That is,
    e.g. libvhd.so.0.1.1:
     - Second interface generation.
     - Second revision.
     - All imaginary prior ones supported.
  2. autotools: Use AC_SYS_LARGEFILE.

    Daniel Stodden authored
    For _FILE_OFFSET_BITS/_LARGE_FILES, which went missing in every
    Makefile.am. In config.h it should be more portable.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  3. git: ignore 'compile' wrapper.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  4. autotools: Include config.h everywhere.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Commits on Aug 31, 2011
  1. Remove obsolete config/ subdir.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Commits on Aug 30, 2011
  1. vhd: Link to libiconv, where needed/wanted.

    Daniel Stodden authored
    Adds --with-libiconv. Helps with a proper uclibc build.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  2. ac/vhd: Make libvhdio conditionally only.

    Daniel Stodden authored
    Current part/ is not well portable because of the the
    Linux header dependencies. But it's optional anyway.
    New ENABLE_VHDIO also replaces ENABLE_SHARED, used for
    vhdio only.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Commits on Aug 29, 2011
  1. ac/vhd: Make vhd/lib/tests conditionally only.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  2. Link vhd-index against libuuid, explicitly.

    Daniel Stodden authored
    The implicit dependency through libvhd.la
    won't work on Debian sid/gcc-4.6.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  3. libvhdio: Build only a shared library.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  4. tap-ctl-spawn: Fall back to tapdisk in $(builddir).

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  5. tap-ctl-spawn: Move sbin/tapdisk2 to libexec/tapdisk.

    Daniel Stodden authored
    With some cleanup:
    
     - Allow overrides with TAPDISK, or TAPDISK2.
     - If TAPDISK/TAPDISK2 is set, require that to succeed.
     - Return errno on failure.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  6. ac: Add autogen.sh, version 20090301

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  7. autotools: Build blktap with automake/autoconf.

    Daniel Stodden authored
     - XCP source: Remove mk/ subtree.
     - Use autoconf/automake.
     - Use libtool, solving our library build troubles.
     - Need a version. Make that blktap-2.0.90 for now.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  8. Add missing headers

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  9. vhd: Don't rely on resolved_path = NULL feature in realpath().

    Daniel Stodden authored
    A resolved_path arg of NULL implies a malloc of just enough space,
    standardized since POSIX.1-2008. Not portable to uClibc, failing by a
    __nonnull(2) attribute.
    
    Fix with PATH_MAX sized stack buffers, and strdup()s where needed.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Commits on Aug 25, 2011
  1. Fix strict aliasing / pointer casts for rhel/gcc-4.1.2.

    Daniel Stodden authored
     - Mostly posix_memalign. Gcc won't appreciate char buffer out vars
       recasted to void.
    
     - Mostly fixed with void pointers. That's fine, because most of our
       memalign usage are sector-aligned opaque buffers anyway.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  2. vhd: More gcc fortification complaints.

    Daniel Stodden authored
    This time adding a couple hypothetical error conditions.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  3. Rework gcc fortification catches, failing -Wunused.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  4. vhd: Remove unused vhd_block_vector_read_allocated.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  5. vhd: remove HD_TYPE_STR definition from vhd.h

    Daniel Stodden authored
    Only used in vhd-util-read, so inlined there for now.
    Might go extern again if that's ever a problem.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  6. io-optimize: Inline type var in __print_iocb.

    Daniel Stodden authored
    Unused if DBG() is void producing, a warning under gcc-4.6.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  7. io-optimize: #undef unused code if !DEBUG/TEST

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  8. queue: Restore orphaned setup/destroy callbacks in td_tio_rwio.

    Daniel Stodden authored
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  9. Remove unused variables/labels.

    Daniel Stodden authored
    Up to a clean build with -O2 -Wall -Werror.
    
    Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Something went wrong with that request. Please try again.