Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version 1.5.22.1.5.22 | Richard W.M. Jones | 2010-10-19 | 17 | -817/+1074 |
| | |||||
* | virt-resize: Document guest boot stops at "GRUB" (RHBZ#640961). | Richard W.M. Jones | 2010-10-18 | 1 | -0/+20 |
| | |||||
* | df: Correctly quote libvirt domain and filesystem in --csv mode (RHBZ#639986). | Richard W.M. Jones | 2010-10-18 | 1 | -1/+31 |
| | | | | | This fixes virt-df --csv when used with libvirt domains that contain quotes, spaces, commas and other lesser-used characters. | ||||
* | virt-resize: Document qcow2 output format (RHBZ#642826). | Richard W.M. Jones | 2010-10-18 | 1 | -0/+25 |
| | |||||
* | virt-resize: List truncate(1) in SEE ALSO section. | Richard W.M. Jones | 2010-10-18 | 1 | -0/+1 |
| | |||||
* | tools: Add section describing quoting libvirt domain names to docs (RHBZ#643624) | Richard W.M. Jones | 2010-10-18 | 12 | -0/+84 |
| | |||||
* | parted: Don't return "loop" for non-partitioned devices (RHBZ#634246). | Richard W.M. Jones | 2010-10-18 | 1 | -0/+15 |
| | | | | | | | | If you ran part-get-parttype command on a device which didn't contain a partition, it used to return the string "loop". This is an internal representation that parted uses. We should instead return an error because part-get-parttype makes no sense for devices which are not partitioned. | ||||
* | contrib: Note about what needs to be done for visualization. | Richard W.M. Jones | 2010-10-18 | 1 | -0/+6 |
| | |||||
* | todo: Add wishlist items to to-do list. | Richard W.M. Jones | 2010-10-18 | 1 | -0/+15 |
| | |||||
* | todo: Add note about using blktrace. | Richard W.M. Jones | 2010-10-06 | 1 | -0/+8 |
| | |||||
* | contrib: More trace visualization. | Richard W.M. Jones | 2010-10-06 | 5 | -17/+702 |
| | |||||
* | debug: Add qtrace <device> on|off to allow selective traces. | Richard W.M. Jones | 2010-10-06 | 1 | -0/+91 |
| | |||||
* | part-disk: Align whole disk partition to 64 sectors. | Richard W.M. Jones | 2010-10-06 | 1 | -15/+9 |
| | | | | | | Change the part-disk command so it aligns the partition to 64 sectors (instead of 1 or 34 sectors as now). This should ensure that the filesystem contained within is aligned. | ||||
* | contrib: Fix small mistake in README file. | Richard W.M. Jones | 2010-10-05 | 1 | -2/+2 |
| | |||||
* | contrib: Update README files. | Richard W.M. Jones | 2010-10-05 | 2 | -0/+8 |
| | |||||
* | contrib: Visualizing block device access and alignment. | Richard W.M. Jones | 2010-10-05 | 8 | -0/+876 |
| | |||||
* | ocaml: Add g#ocaml_handle method. | Richard W.M. Jones | 2010-10-04 | 1 | -0/+4 |
| | |||||
* | ocaml: Document g#close () method for objects. | Richard W.M. Jones | 2010-10-04 | 1 | -0/+3 |
| | |||||
* | ocaml: Create the handle when the object is instantiated. | Richard W.M. Jones | 2010-10-04 | 2 | -4/+6 |
| | | | | | Previously we had only one handle shared between all objects .. oops. This fixes commit 67636f721056d2f2250b0ff8acd981a0294536a9. | ||||
* | ocaml: Add alternate object-oriented programming style. | Richard W.M. Jones | 2010-10-03 | 2 | -11/+72 |
| | | | | | | | | | | | | | | | | | | | | | | In original style: let () = let filename = Sys.argv.(1) in let g = Guestfs.create () in Guestfs.add_drive_ro g filename; Guestfs.launch g; let roots = Guestfs.inspect_os g in print_endline (Guestfs.inspect_get_product_name g roots.(0)) The same code in the new OO style: let () = let filename = Sys.argv.(1) in let g = new Guestfs.guestfs in g#add_drive_ro filename; g#launch (); let roots = g#inspect_os () in print_endline (g#inspect_get_product_name roots.(0)) | ||||
* | test-copy: Skip this test if /dev/fd is missing, because of broken mock 1.1.4. | Richard W.M. Jones | 2010-10-02 | 1 | -0/+8 |
| | |||||
* | test-virt-resize: Skip this test on 32 bit hosts. | Richard W.M. Jones | 2010-10-02 | 1 | -0/+7 |
| | |||||
* | Version 1.5.21.1.5.21 | Richard W.M. Jones | 2010-10-01 | 17 | -8727/+8972 |
| | |||||
* | fish: Fix glob command (RHBZ#635969). | Richard W.M. Jones | 2010-10-01 | 1 | -9/+3 |
| | | | | | | | | | This is a fix for the glob command in guestfish which was inadvertently broken in commit c359347dd42c9f5b875630537ee3641264826b89. This also appears to fix: https://bugzilla.redhat.com/show_bug.cgi?id=635969 glob echo mkfs ext2 /dev/vd[b-t]1 prints garbage | ||||
* | Add test for virt-resize. | Richard W.M. Jones | 2010-09-27 | 2 | -0/+32 |
| | | | | | | | | | | | | | | This tests a number of things which have caused problems for us: - resizing PVs and LV content - handling GPT format disks - using qcow2 as a target disk format - shrinking disk images Note that the disk content is empty (not a real VM), but this is adequate since all we want to test are the operations and calculations done by virt-resize. We are not interested here in whether e2fsprogs and LVM actually works. | ||||
* | resize: Fix handling of GPT and qcow2 (RHBZ#633766, RHBZ#633096). | Richard W.M. Jones | 2010-09-27 | 1 | -70/+79 |
| | | | | | | | | | | | | | | | | | | Previously we copied the bootloader data directly from the source disk image to the target disk image using host file operations (before launching libguestfs). This has two problems: firstly it has no chance of working with qcow2, and secondly it didn't behave properly with GPT. This changes the code so that everything is done through libguestfs. Block device sizes are now calculated properly for qcow2 (RHBZ#633096) because this is done using the libguestfs blockdev_getsize64 call. The partition table is still created by parted, but to workaround a bug in parted this is done before copying the bootloader. Finally the bootloader copy is done using the new APIs pread-device and pwrite-device. Shrinking now works, at least for simple cases (RHBZ#633766). | ||||
* | New API: pread-device, partial read for devices. | Richard W.M. Jones | 2010-09-27 | 3 | -17/+53 |
| | |||||
* | pread: Check count and offset parameters are not negative. | Richard W.M. Jones | 2010-09-27 | 1 | -0/+10 |
| | |||||
* | Freshen POD (manual pages) stylesheet. | Richard W.M. Jones | 2010-09-27 | 1 | -5/+73 |
| | |||||
* | Version 1.5.20.1.5.20 | Richard W.M. Jones | 2010-09-26 | 17 | -13092/+12631 |
| | |||||
* | New API: pwrite-device | Richard W.M. Jones | 2010-09-26 | 3 | -11/+54 |
| | | | | | This is the same as the existing 'pwrite' API call, but allows you to write to a device. | ||||
* | pwrite: Check offset is not negative. | Richard W.M. Jones | 2010-09-26 | 1 | -0/+5 |
| | |||||
* | fish: Refresh guestfish documentation. | Richard W.M. Jones | 2010-09-26 | 1 | -25/+48 |
| | |||||
* | Document ambiguity between devices and paths in API. | Richard W.M. Jones | 2010-09-26 | 1 | -0/+31 |
| | |||||
* | Document accurately how supermin appliance uses /tmp as a cache. | Richard W.M. Jones | 2010-09-24 | 2 | -6/+6 |
| | |||||
* | Allow $TMPDIR to override most temporary directory uses. | Richard W.M. Jones | 2010-09-24 | 12 | -31/+58 |
| | | | | | | | Be more consistent in allowing the user to override use of the temporary directory by specifying $TMPDIR. Also prefer P_tmpdir macro (defined in <stdio.h>) if that is defined, rather than hard-coding "/tmp" for the fallback location. | ||||
* | Call blockdev --rereadpt then udev_settle after sfdisk commands. | Richard W.M. Jones | 2010-09-24 | 1 | -3/+6 |
| | | | | | | | This updates commit 956fc5a3feacc970ea763697bf28fb686c875408 so that we call udev_settle after rereading the partition table. This ensures that the devices nodes for the new partitions have been created. | ||||
* | Update Spanish translations (RHBZ#636918). | Daniel Cabrera | 2010-09-23 | 1 | -855/+1676 |
| | |||||
* | Update Polish translations (RHBZ#502533). | Piotr Drąg | 2010-09-23 | 1 | -332/+86 |
| | |||||
* | Version 1.5.19.1.5.19 | Richard W.M. Jones | 2010-09-22 | 16 | -18/+18 |
| | |||||
* | regressions: Test just-built guestfish. | Richard W.M. Jones | 2010-09-22 | 2 | -2/+3 |
| | | | | | | Instead of testing the installed /usr/bin/guestfish. This fixes commit ddda0f7bd00a37274dae38f4ce93955b8cfdf7d7. | ||||
* | Call blockdev --rereadpt after sfdisk commands. | Richard W.M. Jones | 2010-09-22 | 1 | -1/+13 |
| | | | | | | | | | | | | On fast machines sfdisk has some sort of race where it fails to re-read the partition table it has just created (it's not clear if this is a race in sfdisk, the kernel or some other component). This commit works around the problem by calling blockdev --rereadpt after sfdisk operations, which experience shows is enough to stop the problem from happening. | ||||
* | Version 1.5.18.1.5.18 | Richard W.M. Jones | 2010-09-22 | 16 | -18/+24 |
| | |||||
* | Test guestfish -a and guestfish -d options. | Richard W.M. Jones | 2010-09-22 | 3 | -0/+82 |
| | | | | | Since these options were both broken in released version 1.5.17, best to have a regression test to catch this in future. | ||||
* | appliance: Ignore unreadable dbus service file (Fedora 15). | Richard Jones | 2010-09-22 | 1 | -0/+1 |
| | |||||
* | fish: Fix segfault in free_drives() function. | Richard W.M. Jones | 2010-09-22 | 1 | -2/+2 |
| | | | | | This updates commit 8ea62c8d7f3f7f7e4057b93105cf979271aa13f4 so it doesn't try to free the optarg (stack-allocated) strings. | ||||
* | Version 1.5.17.1.5.17 | Richard W.M. Jones | 2010-09-21 | 17 | -16248/+16924 |
| | |||||
* | Update release notes for new features in 1.5 branch. | Richard W.M. Jones | 2010-09-21 | 1 | -0/+121 |
| | |||||
* | fish: Implement 'hexedit' command. | Richard W.M. Jones | 2010-09-21 | 6 | -1/+239 |
| | |||||
* | New APIs: upload-offset and download-offset | Richard W.M. Jones | 2010-09-21 | 3 | -4/+162 |
| | | | | | These APIs allow you to efficiently write and read parts of files or devices. |