Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version 1.17.20.1.17.20 | Richard W.M. Jones | 2012-03-17 | 20 | -10523/+11558 |
| | |||||
* | New API: vgmeta: Download volume group metadata. | Richard W.M. Jones | 2012-03-17 | 3 | -1/+99 |
| | |||||
* | appliance: Add a tool to make fixed appliances. | Richard W.M. Jones | 2012-03-17 | 7 | -1/+363 |
| | |||||
* | ruby: Replace deprecated rdoc/task and rake/gempackagetask. | Richard W.M. Jones | 2012-03-16 | 1 | -3/+3 |
| | |||||
* | todo: Suggestion for virt-sysprep. | Richard W.M. Jones | 2012-03-16 | 1 | -0/+1 |
| | |||||
* | Version 1.17.19.1.17.19 | Richard W.M. Jones | 2012-03-16 | 20 | -15301/+15987 |
| | |||||
* | generator: Sort camel-case structs. | Richard W.M. Jones | 2012-03-16 | 2 | -7/+8 |
| | |||||
* | New APIs: isoinfo and isoinfo-device. | Richard W.M. Jones | 2012-03-16 | 8 | -1/+351 |
| | | | | | Get ISO primary volume descriptor information for either ISO devices or ISO files. | ||||
* | appliance: Include genisoimage in the appliance. | Richard W.M. Jones | 2012-03-16 | 1 | -0/+1 |
| | | | | | This is mainly useful for the 'isoinfo' tool, but 'genisoimage' itself may be interesting to have in future. | ||||
* | generator: Fix CompareWithString test. | Richard W.M. Jones | 2012-03-16 | 1 | -1/+1 |
| | | | | | This type of test was not used, and in fact the generated test simply didn't work. | ||||
* | generator: Fix FUInt{32,64} struct field types. | Richard W.M. Jones | 2012-03-16 | 1 | -2/+4 |
| | | | | | | We were not using an unsigned type in the XDR. This doesn't affect data integrity or the protocol, but it makes it more complicated for the daemon to set these fields. | ||||
* | daemon: Don't call reply_with_* after split_lines fails. | Richard W.M. Jones | 2012-03-16 | 2 | -6/+2 |
| | | | | | split_lines already sets reply_with_*, so calling it again would lose protocol synchronization. | ||||
* | inspect: Fedora/RHEL CDs are multipart if totaldiscs > 1, not > 0. | Richard W.M. Jones | 2012-03-16 | 1 | -1/+1 |
| | |||||
* | inspect: Parse isolinux menu title from RHEL 6.2 Live CD. | Richard W.M. Jones | 2012-03-16 | 1 | -0/+15 |
| | |||||
* | inspect: Add comment documenting findings of RHEL 5, 6 install CDs. | Richard W.M. Jones | 2012-03-16 | 1 | -0/+58 |
| | |||||
* | Version 1.17.18.1.17.18 | Richard W.M. Jones | 2012-03-15 | 20 | -15484/+16696 |
| | |||||
* | todo: Document further virt-sparsify improvements. | Richard W.M. Jones | 2012-03-15 | 1 | -0/+8 |
| | |||||
* | sparsify: Implement --zero option. | Richard W.M. Jones | 2012-03-15 | 2 | -28/+47 |
| | | | | This unconditionally zeroes the named partition or filesystem. | ||||
* | sparsify: Add a note about encrypted disks to the man page. | Richard W.M. Jones | 2012-03-15 | 1 | -1/+2 |
| | |||||
* | sparsify: Unlink temporary overlay file if user presses ^C. | Richard W.M. Jones | 2012-03-15 | 1 | -1/+5 |
| | | | | | Add a signal handler so this potentially large temporary file is removed when the user hits ^C. | ||||
* | sparsify: Support sparsifying Linux swap partitions. | Richard W.M. Jones | 2012-03-15 | 2 | -7/+28 |
| | |||||
* | sparsify: Use zero-device instead of dd if=/dev/zero to zero device. | Richard W.M. Jones | 2012-03-15 | 1 | -5/+3 |
| | | | | | zero-device is more efficient in general, and avoids writing to blocks which are already zero. | ||||
* | Use the new lvcreate-free API to create largest possible LVs. | Richard W.M. Jones | 2012-03-15 | 5 | -33/+9 |
| | |||||
* | New API: lvcreate-free: Create logical volume as % of free space. | Richard W.M. Jones | 2012-03-15 | 3 | -1/+49 |
| | |||||
* | sparsify: Use new zero_free_space API. | Richard W.M. Jones | 2012-03-15 | 1 | -14/+2 |
| | |||||
* | New API: zero_free_space: zero free space in a filesystem. | Richard W.M. Jones | 2012-03-15 | 3 | -1/+119 |
| | | | | | | | | | | | | | | Add an API for doing what virt-sparsify was doing: freeing up free space in a filesystem. The current implementation is simple-minded: we create a file, fill it with zeroes until we run out of space, then delete the file. However the description leaves it open to do a better implementation, eg. using sparsification support that is currently being worked on in ext4 and qemu. The implementation also sends progress notifications, which is an advantage over the old 'dd' method. | ||||
* | sparsify: Only print qemu-img command if verbose. | Richard W.M. Jones | 2012-03-15 | 1 | -1/+1 |
| | |||||
* | inspect: Ignore missing HKLM\SYSTEM\MountedDevices (RHBZ#803664). | Richard W.M. Jones | 2012-03-15 | 1 | -4/+6 |
| | | | | | | When a Windows guest doesn't have a HKLM\SYSTEM\MountedDevices node, inspection fails. However inspection should not completely fail just because we cannot get the drive letter mapping from a guest. | ||||
* | inspector: Update man page to describe how to access inspection info from ↵ | Richard W.M. Jones | 2012-03-14 | 1 | -6/+112 |
| | | | | other languages and guestfish. | ||||
* | Add guestfsd.suppressions file to EXTRA_DIST.1.17.17 | Richard W.M. Jones | 2012-03-14 | 1 | -2/+3 |
| | |||||
* | Version 1.17.17. | Richard W.M. Jones | 2012-03-14 | 18 | -153/+146 |
| | |||||
* | Use O_CLOEXEC / SOCK_CLOEXEC for almost all file descriptors. | Richard W.M. Jones | 2012-03-14 | 37 | -74/+129 |
| | | | | | | | | | | | | | | | | | | | | | | | | The presumption is that all file descriptors should be created with the close-on-exec flag set. The only exception are file descriptors that we want passed through to exec'd subprocesses (mainly pipes and stdin/stdout/stderr). For open calls, we pass O_CLOEXEC as an extra flag, eg: fd = open ("foo", O_RDONLY|O_CLOEXEC); This is a Linux-ism, but using a macro we can easily make it portable. For sockets, similarly: sock = socket (..., SOCK_STREAM|SOCK_CLOEXEC, ...); For accepted sockets, we use the Linux accept4 system call which allows flags to be supplied, but we use the Gnulib 'accept4' module to make this portable. For dup, dup2, we use the Linux dup3 system call, and the Gnulib modules 'dup3' and 'cloexec'. | ||||
* | java: Make sure generator is rerun when necessary to rebuild generated files. | Richard W.M. Jones | 2012-03-14 | 1 | -9/+7 |
| | |||||
* | java: Enable -Xlint:all and fix all warnings. | Richard W.M. Jones | 2012-03-14 | 3 | -1/+12 |
| | |||||
* | todo: More ongoing code cleanups. | Richard W.M. Jones | 2012-03-14 | 1 | -1/+1 |
| | |||||
* | appliance: Enhance --enable-valgrind-daemon with a suppressions file. | Richard W.M. Jones | 2012-03-14 | 3 | -3/+26 |
| | | | | This lets us suppress errors in system libraries. | ||||
* | daemon: When copy subprocess fails, print return code. | Richard W.M. Jones | 2012-03-14 | 1 | -1/+1 |
| | | | | Useful for debugging. | ||||
* | todo: Document ongoing code cleanups. | Richard W.M. Jones | 2012-03-14 | 1 | -0/+16 |
| | |||||
* | daemon: labels: Memory leak in 'set_label'. | Richard W.M. Jones | 2012-03-14 | 1 | -3/+7 |
| | | | | This fixes commit d1711dae9dbd7f516469f88807604894c1304228. | ||||
* | Version 1.17.16.1.17.16 | Richard W.M. Jones | 2012-03-13 | 18 | -395/+398 |
| | |||||
* | Replace 'int' with 'size_t' passim. | Richard W.M. Jones | 2012-03-13 | 26 | -103/+113 |
| | | | | | Analyze all uses of 'int' in the code, and replace with 'size_t' where appropriate. | ||||
* | daemon: Implement a growable strings buffer type. | Richard W.M. Jones | 2012-03-13 | 16 | -196/+209 |
| | | | | | | | | | | | | | | | | | | | | | | | | Previously a lot of daemon code used three variables (a string list, 'int size' and 'int alloc') to track growable strings buffers. This commit implements a simple struct containing the same variables, but using size_t instead of int: struct stringsbuf { char **argv; size_t size; size_t alloc; }; Use it like this: DECLARE_STRINGSBUF (ret); //... if (add_string (&ret, str) == -1) return NULL; //... if (end_stringsbuf (&ret) == -1) return NULL; return ret.argv; | ||||
* | Fix strict-overflow bugs and reenable this warning. | Richard W.M. Jones | 2012-03-12 | 3 | -9/+4 |
| | | | | | | | | In two places, we were counting things in an array using an 'int'. In theory, the int could overflow, so gcc determines this to be undefined behaviour. The fix is to use size_t or ssize_t instead. | ||||
* | fish: remote: Output from close event now passed over stdout (RHBZ#802389). | Richard W.M. Jones | 2012-03-12 | 3 | -3/+55 |
| | |||||
* | fish: remote: Make sure global cleanups are called for guestfish --listen. | Richard W.M. Jones | 2012-03-12 | 3 | -2/+5 |
| | | | | | Return to the main program ('fish.c') and perform global cleanups when the guestfish remote server exits. | ||||
* | fish: remote: Move close_stdout just before accept() call. | Richard W.M. Jones | 2012-03-12 | 1 | -6/+6 |
| | | | | This is just code motion. | ||||
* | fish: Rename tests and make test paths relative. | Richard W.M. Jones | 2012-03-12 | 15 | -49/+49 |
| | | | | | | | | | | When these tests were originally in the old regressions/ directory, they used to refer to guestfish via the path '../fish/guestfish'. Some of the tests were also called 'test-guestfish-*'. Now that the tests have been moved into the fish/ directory, neither of these things make sense. So change the relative path to './guestfish' and rename all 'test-guestfish-*' as 'test-*'. | ||||
* | tests: Remove/fix unused variables warnings. | Richard W.M. Jones | 2012-03-12 | 3 | -1/+2 |
| | |||||
* | Version 1.17.15.1.17.15 | Richard W.M. Jones | 2012-03-12 | 20 | -10957/+11110 |
| | |||||
* | tests: Remove unused variable. | Richard W.M. Jones | 2012-03-12 | 1 | -1/+0 |
| |