Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ignore guestfsd.exe (Windows daemon). | Richard Jones | 2009-11-26 | 1 | -0/+1 | |
| | ||||||
* | Remove old contrib/febootstrap directory. | Richard Jones | 2009-11-26 | 4 | -61/+1 | |
| | ||||||
* | Update PO files. | Richard Jones | 2009-11-26 | 1 | -0/+1 | |
| | ||||||
* | Make realpath call optional, disable it for Windows. | Richard Jones | 2009-11-26 | 3 | -1/+17 | |
| | ||||||
* | build: update gnulib submodule to latest | Richard Jones | 2009-11-26 | 2 | -0/+1 | |
| | ||||||
* | daemon: program_name must be defined for Gnulib error module. | Richard Jones | 2009-11-26 | 1 | -0/+3 | |
| | ||||||
* | daemon/Win32: use gnulib modules connect, socket and symlinkat (for readlinkat). | Richard Jones | 2009-11-26 | 4 | -2/+38 | |
| | ||||||
* | daemon/Win32: provide htonl, htons, ntohl, ntohs functions. | Richard Jones | 2009-11-26 | 5 | -1/+90 | |
| | | | | These functions are not available on Windows. | |||||
* | daemon/Win32: Use Gnulib perror module. | Richard Jones | 2009-11-26 | 1 | -1/+2 | |
| | ||||||
* | daemon: Link guestfs_protocol.[ch] into the daemon directory. | Richard Jones | 2009-11-26 | 2 | -5/+26 | |
| | | | | | | | | | | | Instead of doing a recursive call into the src/ directory to build the object files, hard link the source files into the daemon directory and build them separately. See: http://www.redhat.com/archives/libguestfs/2009-November/msg00254.html Thanks to Jim Meyering for noticing a typo in the original version. | |||||
* | daemon: Typo generator_build -> generator_built | Richard Jones | 2009-11-26 | 1 | -1/+1 | |
| | ||||||
* | daemon: Indent C macros to reflect nesting level. | Richard Jones | 2009-11-26 | 1 | -5/+5 | |
| | ||||||
* | daemon/Win32: Win32 can't fork message moved to separate function (Jim Meyering) | Richard Jones | 2009-11-26 | 1 | -5/+11 | |
| | ||||||
* | guestfs documentation: Missing space. | Richard Jones | 2009-11-25 | 1 | -1/+1 | |
| | ||||||
* | guestfs: Update architecture section of documentation. | Richard Jones | 2009-11-25 | 1 | -26/+53 | |
| | ||||||
* | Update PO files. | Richard Jones | 2009-11-25 | 1 | -0/+1 | |
| | ||||||
* | daemon: Fix build on Unix. | Richard Jones | 2009-11-25 | 1 | -1/+3 | |
| | ||||||
* | daemon: Fix sync() call on Unix. | Richard Jones | 2009-11-25 | 1 | -1/+2 | |
| | ||||||
* | daemon/Win32: update comment | Richard Jones | 2009-11-25 | 1 | -1/+1 | |
| | ||||||
* | daemon/Win32: Supply MAX macro for challenged platforms. | Richard Jones | 2009-11-25 | 1 | -0/+4 | |
| | ||||||
* | daemon/Win32: Windows can't daemonize. | Richard Jones | 2009-11-25 | 1 | -0/+5 | |
| | ||||||
* | daemon/Win32: Windows replacement for umask. | Richard Jones | 2009-11-25 | 1 | -0/+8 | |
| | ||||||
* | daemon/Win32: Replace setenv with Win32 equivalent. | Richard Jones | 2009-11-25 | 1 | -0/+7 | |
| | ||||||
* | daemon/Win32: Use xdr_u_int for PortableXDR compatibility. | Richard Jones | 2009-11-25 | 2 | -8/+8 | |
| | | | | PortableXDR didn't support xdr_uint32_t. xdr_u_int is the same type. | |||||
* | daemon/Win32: Don't bother blocking SIGPIPE on Win32. | Richard Jones | 2009-11-25 | 1 | -0/+2 | |
| | ||||||
* | daemon/Win32: Use gnulib getaddrinfo module. | Richard Jones | 2009-11-25 | 3 | -1/+12 | |
| | ||||||
* | daemon/Win32: Implement statvfs using GetDiskFreeSpaceEx. | Richard Jones | 2009-11-25 | 4 | -2/+128 | |
| | | | | | | | At the time of writing Gnulib didn't support Win32 for its fsusage API. Therefore this patch uses GetDiskFreeSpaceEx if it's available (on Windows) otherwise falls back to using Gnulib fsusage. | |||||
* | daemon: Move statvfs code into separate file. | Richard Jones | 2009-11-25 | 3 | -38/+69 | |
| | | | | | | This makes no functional change to the code. It just moves the statvfs-related code out of daemon/stat.c into a new file called daemon/statvfs.c. | |||||
* | daemon: Use gnulib futimens module. | Richard Jones | 2009-11-25 | 5 | -11/+10 | |
| | | | | | | | | | Instead of checking for futimens support and falling back (incorrectly in one case) to using futimes, use gnulib's module. However the gnulib module does not yet support Win32, so this change is only really useful on platforms like RHEL 5. | |||||
* | daemon/Win32: Use gnulib pread module. | Richard Jones | 2009-11-25 | 2 | -0/+3 | |
| | ||||||
* | sync: Windows implementation of sync() call. | Richard Jones | 2009-11-25 | 4 | -7/+110 | |
| | | | | | Replace calls to sync() with calls to sync_disks() which supports Win32 via FlushFileBuffers. | |||||
* | daemon: Alternate implementation of posix_fallocate. | Richard Jones | 2009-11-25 | 2 | -1/+23 | |
| | | | | | If the posix_fallocate function is not available [ie. Windows] use an alternate implementation that just loops and writes. | |||||
* | dd: Missing include of <string.h> | Richard Jones | 2009-11-25 | 1 | -0/+1 | |
| | | | | Breaks compilation on Windows. | |||||
* | daemon/Windows: Define _WIN32_WINNT when compiling on Windows. | Richard Jones | 2009-11-25 | 1 | -0/+6 | |
| | ||||||
* | build: update gnulib submodule to latest | Richard Jones | 2009-11-25 | 1 | -0/+0 | |
| | ||||||
* | build: update gnulib submodule to latest | Richard Jones | 2009-11-25 | 1 | -0/+0 | |
| | ||||||
* | supermin: Die with an error if no kernels found (RHBZ#539746). | Richard Jones | 2009-11-25 | 1 | -1/+7 | |
| | | | | | Updated with a suggestion from Jim Meyering to use the '-d' option to ls to avoid a future case of directories matching. | |||||
* | New tool: virt-list-filesystems | Richard Jones | 2009-11-24 | 7 | -1/+239 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Use this program as a convenient way to list the filesystems available in a disk image or libvirt guest. Example: $ virt-list-filesystems /dev/vg_trick/Debian5x64 /dev/debian5x64/home /dev/debian5x64/root /dev/debian5x64/tmp /dev/debian5x64/usr /dev/debian5x64/var /dev/sda1 This is designed to make it easier for novices to use guestfish and guestmount. In particular with guestmount this acts as a way to get a list of filesystems to use with the '-m' option. ie: $ virt-list-filesystems unknowndisk.img /dev/sda1 /dev/sda2 $ guestmount -a unknowndisk.img -m /dev/sda1 /mnt | |||||
* | availability: Document how to check for single API calls | Richard Jones | 2009-11-24 | 1 | -1/+74 | |
| | | | | | | This documents how to use autotools and dlopen(3) to test for the availability of single API calls at compile time and run time respectively. | |||||
* | availability: Add a test for this call. | Richard Jones | 2009-11-24 | 1 | -1/+1 | |
| | | | | | | Because all the tested groups are optional, there's not really a group we can reliably test, therefore test against the empty list (which should not fail). | |||||
* | availability: Clarify and fix documentation. | Richard Jones | 2009-11-24 | 1 | -11/+12 | |
| | ||||||
* | generator: Passing "" to StringList tests should turn into empty list. | Richard Jones | 2009-11-24 | 1 | -0/+2 | |
| | | | | | | | | This is a bug in the generator which wasn't being tickled. If you had a test which expected a StringList or DeviceList parameter, and you passed "" to that test, then you'd (probably) expect to be testing an empty list, but in fact you got a single element list containing an empty string. This fixes it so you get an empty list. | |||||
* | daemon: Fix return value from aug_defnode. | Richard Jones | 2009-11-24 | 1 | -1/+1 | |
| | | | | | Bug fix - the return value from this function was wrong in the no-Augeas case. | |||||
* | Implement 'dd' command. | Richard Jones | 2009-11-23 | 7 | -2/+125 | |
| | ||||||
* | Use STRPREFIX instead of STREQLEN. | Richard Jones | 2009-11-22 | 1 | -2/+2 | |
| | ||||||
* | generator: second parameter to upload is Dev_or_Path, not String. | Richard Jones | 2009-11-22 | 1 | -1/+1 | |
| | ||||||
* | build: Add missing dependencies in perl directory | Matthew Booth | 2009-11-21 | 2 | -1/+17 | |
| | | | | | | | | make all in the perl directory was missing a check that the library had been built. make check in the perl directory was missing a check that the appliance and test images had been built. | |||||
* | build: Ensure building appliance depends on guestfsd | Matthew Booth | 2009-11-21 | 1 | -1/+1 | |
| | | | | | | | Previously, only the update.sh rule checked the daemon had been built. update.sh is called directly from within make.sh, so in that path the dependency was never checked. This adds the daemon dependency explicitly to the rebuild-from-scratch path. | |||||
* | build: Don't re-check generator.ml for each generator_built in daemon directory | Matthew Booth | 2009-11-21 | 1 | -1/+2 | |
| | ||||||
* | build: Rebuild the daemon as necessary from other directories | Matthew Booth | 2009-11-21 | 1 | -0/+4 | |
| | | | | | This change ensure that making the appliance will always rebuild the daemon if required. |