summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update PO files.1.3.3Richard Jones2010-04-1212-5910/+5250
|
* Prepare for version 1.3.3.Richard Jones2010-04-121-1/+1
|
* resize: Add --LV-expand option for expanding Linux LVs.Richard Jones2010-04-121-2/+122
|
* New API: lvresize-free to extend LVs into percentage of free space.Richard Jones2010-04-123-1/+42
|
* Fix time and timezone to be correct within the appliance.Richard Jones2010-04-122-1/+12
|
* resize: Fix missing newline from end of print.Richard Jones2010-04-121-1/+1
|
* resize: Fix regular expression to exactly match ^ext[234]$Richard Jones2010-04-121-1/+1
|
* virt-resize: Mention alternate tools like gparted in the documentation.Richard Jones2010-04-121-0/+17
|
* Updated Spanish translation (RHBZ#581501).Daniel Cabrera2010-04-121-560/+1294
|
* Documentation updates.Richard Jones2010-04-1116-20/+37
| | | | | | | Fix copyright years. Fix URLs to point to new PRC site. Make sure guestfish(1) and guestfs(3) manpages reference the current list of tools.
* Version 1.3.21.3.2Richard Jones2010-04-1013-5174/+5638
|
* New API: checksum-device for checksumming devices.Richard Jones2010-04-103-13/+35
| | | | Analogous to the usual 'checksum' call.
* virt-resize: Enhance virt-resize so it can expand partition content.Richard Jones2010-04-101-48/+273
| | | | | | | | | Enhance virt-resize so it can expand "first level" partition content, including ext/2/3/4/ntfs filesystems and PVs. Also extensively update the documentation. This has been tested on a variety of Linux and Windows guests.
* virt-list-partitions: Add -t / --total option.Richard Jones2010-04-101-20/+56
| | | | | | | | | This option lists out block devices separately: $ virt-list-partitions -lht /tmp/WindowsResized.img /dev/sda1 ntfs 100.0M /dev/sda2 ntfs 11.9G /dev/sda device 12.0G
* Bugfixes for virt-resize.Richard Jones2010-04-101-19/+69
| | | | | | | | | - copy more than 64 boot loader sectors across, since real boot loaders (eg. for Windows) can be much larger than this - copy bootable flag and ID byte to new partitions - start the first partition on the new disk at the same sector offset as on the old disk - sync the disks before existing
* New partition APIs: part_del, part_get_bootable, part_get/set_mbr_idRichard Jones2010-04-103-1/+157
| | | | These APIs flesh out further the partitioning API.
* daemon: More reliable parsing of the output from 'parted print'.Richard Jones2010-04-101-19/+33
| | | | | | | | Previously we used strtok. However this has the problem that strtok considers multiple delimiter characters to be like a single delimiter, eg. "1:::2" would be parsed the same as "1:2". In other words, the previous code would skip over or fail if there are empty fields.
* daemon: Make the RUN_PARTED macro take an error statement.Richard Jones2010-04-101-7/+9
| | | | | This allows us to make the RUN_PARTED macro do something else along the error path, other than just returning -1.
* Documentation: Clarify documentation on the bootable flag.Richard Jones2010-04-101-4/+3
|
* New API: vgscanRichard Jones2010-04-102-0/+26
| | | | | Implement vgscan to allow for a full rescan of all LVM PVs, VGs and LVs.
* New API: ntfsresize.Richard Jones2010-04-102-0/+31
| | | | | This implements the ntfsresize operation, using the external program from ntfsprogs.
* virt-make-fs: Use Sys::Guestfs::Lib::feature_available helper function.Richard Jones2010-04-101-2/+3
|
* Allow aug-ls to take Augeas variable as argument (RHBZ#580016).Richard Jones2010-04-091-4/+5
|
* Remove warning "No grub default" (RHBZ#580650).Richard Jones2010-04-081-3/+0
|
* If qemu dies during launch in "null vmchannel" mode, don't hang (RHBZ#579155).Richard Jones2010-04-081-1/+9
| | | | | | Detect if qemu dies during launch by wait(2)-ing for it, and then getting EOF on the qemu pipe. This was broken in null vmchannel mode, causing a hang.
* Don't kill self accidentally.Richard Jones2010-04-081-3/+3
| | | | | | Always check that pid > 0 before calling kill (pid, 9). The issue was that sometimes pid == 0, and this ends up killing ourselves.
* Fix for "warning: unexpected connection from UID ..."Richard Jones2010-04-081-0/+1
| | | | | | | | This warning is currently a fatal error. The code attempts to retry the accept call, but because we don't reset sock = -1 the retry doesn't happen and it dies anyway. Set sock = -1 so the retry attempt can happen.
* New API calls to upload/download txz files (RHBZ#580556).Richard Jones2010-04-086-9/+59
|
* configure: Default to using Fedora 12 repo (was Fedora 11).Richard Jones2010-04-081-4/+4
| | | | Fedora 11 is almost EOL at this point.
* Version 1.3.1.1.3.1Richard Jones2010-04-0813-5439/+5594
|
* New tool: virt-make-fs for creating filesystems on devices.Richard Jones2010-04-086-0/+627
|
* Code cleanups related to RHBZ#580246.Richard Jones2010-04-086-24/+80
| | | | | | | | | | | | | | This includes various code cleanups: (a) A regression test for RHBZ#580246. (b) Use write instead of fwrite to write out the tar file. This is just because the error handling of write seems to be better specified and easier to use. (c) Use size_t instead of int for length. (d) Clearer debug messages when in verbose mode.
* Fix tar-in command hangs when running out of disk space (RHBZ#580246).Richard Jones2010-04-082-3/+6
| | | | | | | | | | | | | | | | | | | | The problem was this sequence of events: (1) File transfer goes through OK. (2) pclose returns failure (because 'tar' subprocess failed) (3) We try to cancel the transfer by calling cancel_receive. Step (3) fails because the transfer (as far as the library is concerned) has succeeded, so causing a hang. The more fundamental reason why we see steps (1) and (2) is that 'tar' does NOT fail immediately if there is a write error. Instead it continues reading and discarding the input until the end of the input before giving "Error exit delayed from previous errors". IMHO this is a bug with tar, since an ENOSPC write error should be fatal for tar.
* fish: Print extended help when the user types an unknown command first.Richard Jones2010-04-073-0/+23
| | | | | | | | $ guestfish /tmp/disk.img /tmp/disk.img: unknown command Did you mean to open a disk image? guestfish -a disk.img For a list of commands: guestfish -h For complete documentation: man guestfish
* Check error returns from posix_fallocate (RHBZ#579664).Richard Jones2010-04-072-5/+8
| | | | | | | | | | | | | | | | | | | | | posix_fallocate has a non-standard way to return error indications. Thus all our calls to posix_fallocate were effectively unchecked. For example: $ guestfish alloc test.img 1P $ echo $? 0 $ ll test.img -rw-rw-r--. 1 rjones rjones 0 2010-04-06 11:02 test.img $ rm test.img With this change, errors are detected and reported properly: $ ./fish/guestfish alloc test.img 1P fallocate: File too large This is a fix for: https://bugzilla.redhat.com/show_bug.cgi?id=579664
* Signed/unsigned warning on 64 bit.Richard Jones2010-04-071-1/+1
|
* New API: guestfs_zero_device to zero whole devices.Richard Jones2010-03-313-2/+48
|
* Prettier POD CSS.Richard W.M. Jones2010-03-301-7/+70
|
* Update PO files.1.3.01.2.01.0.89Richard Jones2010-03-3012-13/+13
|
* chmod +x virt-resize binary.Richard Jones2010-03-301-0/+0
|
* Fix EXTRA_DIST rule.Richard Jones2010-03-301-2/+3
|
* Prepare for 1.0.89.Richard Jones2010-03-301-1/+1
|
* Improved version of virt-win-reg, supporting exporting and merging.Richard Jones2010-03-304-123/+309
|
* virt-df: Match output with native (coreutils) 'df' command (RHBZ#578123).Richard Jones2010-03-303-19/+48
| | | | | | | | | | | | | | | | | | | | This commit fixes the 'Use%' field in the output so it matches what coreutils' 'df' command would print. Firstly we change the calculation to use the space available to root, not the space available to non-root. This means it matches what 'df' when run as root in the guest would show. Secondly we display this rounded up to the next whole percent (ie. using ceil), which is also what 'df' does. Thirdly we change the regression test so it tests this. Note that even with these changes you are not guaranteed to get precisely the same figures from inside and outside the guest, as it depends on how quiescent the guest is and how recently the superblock was synced. Thanks: Rita Wu
* tools: Add basic tests for the virt-* tools.Richard Jones2010-03-308-0/+230
|
* tools: Sectional header for manpages in Makefile.amRichard Jones2010-03-301-0/+2
|
* tools: Rearrange list of tools in Makefile.am.Richard Jones2010-03-301-1/+11
|
* daemon: Set TERM=dumb inside the daemon.Richard Jones2010-03-301-0/+1
| | | | | | | | | | | | | | | Since commit 977edb3185fe8f we have been passing TERM from the library into the appliance (for the benefit of virt-rescue). However this changes the output of parted, which I would argue is a bug in parted: TERM=xterm /sbin/parted -m -- /dev/sda unit b print 2>&1 | hexdump -C 00000000 1b 5b 3f 31 30 33 34 68 42 59 54 3b 0a 2f 64 65 |.[?1034hBYT;./de| Notice the escape-sequence junk before the official "BYT;" header. By setting TERM=dumb we avoid this.
* Fix the error message when reply body is too large (RHBZ#509597).Richard Jones2010-03-271-1/+1
|
* tests: Move alarm(2) calls to the correct place in the tests.Richard Jones2010-03-271-3/+3
| | | | This is a re-fix for RHBZ#505329.