summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* daemon: Fix order of devices in guestfs_list_devices when > 26 disks.Richard W.M. Jones2012-06-133-2/+69
| | | | | Sort the device names correctly, not just treating them as strings. As a result, /dev/sdz < /dev/sdaa.
* New API: guestfs_max_disks.Richard W.M. Jones2012-06-133-0/+36
| | | | Returns the maximum number of disks that may be added to a handle.
* Update documentation on maximum number of disks.Richard W.M. Jones2012-06-131-8/+10
|
* appliance: Add lsscsi to package list.Richard W.M. Jones2012-06-131-0/+1
|
* virtio-scsi: Fix disk name calculation.Richard W.M. Jones2012-06-131-2/+3
| | | | This fixes commit 0c0a7d0d868d153adf0600189f771459e1068b0a.
* Require febootstrap >= 3.16.Richard W.M. Jones2012-06-131-1/+1
|
* Version 1.19.6.1.19.6Richard W.M. Jones2012-06-1220-18939/+19543
|
* tests/md: Don't hard code /dev/vda in expected output of tests.Richard W.M. Jones2012-06-122-13/+14
| | | | Use a small sed script to canonicalize the device names.
* tests: Fix spelling in comment.Richard W.M. Jones2012-06-121-2/+2
|
* tests/lvm: Don't hard-code /dev/vda in test.Richard W.M. Jones2012-06-121-1/+1
| | | | | Hard-coding it breaks virtio-scsi because the devices are called /dev/sda etc.
* daemon: Always pass -F option to mke2fs.Richard W.M. Jones2012-06-121-6/+6
| | | | | | | | | | Apparently e2fsprogs only knows that "/dev/sda" is a whole device, but doesn't think that "/dev/vda" is. On switching the default device over to virtio-scsi, that causes mke2fs without -F option to complain and ask for an interactive prompt. Adding -F forces it to go ahead anyway. This caused several less-used APIs to break with virtio-scsi.
* appliance: Add support for virtio-scsi.Richard W.M. Jones2012-06-123-25/+121
| | | | This requires febootstrap >= 3.15.
* Record output of qemu -device '?'.Richard W.M. Jones2012-06-124-0/+19
| | | | | This allows us to find out what qemu devices are supported at runtime.
* Require QEMU >= 1.0.Richard W.M. Jones2012-06-123-70/+27
| | | | | | | | | | | QEMU 1.0 was released at the end of 2011. Remove all the cruft about detecting broken -machine type which was only required for QEMU 0.15. This also reverts commit 30ecbf3ec2ada68f7e125a180553e31b069033b7. Even on ARM you can pass -machine accel=kvm:tcg and qemu does the right thing, so I'm not sure why we wanted to disable that.
* Remove ./configure --with-drive-if and --with-net-if options.Richard W.M. Jones2012-06-122-29/+7
| | | | | | | | | | | | These were used to select the default drive and network interface. They both default to 'virtio'. These were added back in the day when virtio was buggy, so that packagers could revert to using ide/ne2k_pci to work around distro bugs. However virtio has been stable in qemu for a very long time, so it seems unlikely that any packager would need to use these, and in any case it would be better to do this detection at runtime (cf. for virtio-scsi).
* New API: fstrim - allow filesystem trim.Richard W.M. Jones2012-06-126-5/+130
|
* Version 1.19.5.1.19.5Richard W.M. Jones2012-06-0920-25245/+25659
|
* tests: Allow regression test for bug 690819 to be skipped.Richard W.M. Jones2012-06-091-0/+12
|
* blockdev_getbsz: Remove test.Richard W.M. Jones2012-06-091-2/+1
| | | | | The output of this test depends on page size, so on ppc64 it returns 64K.
* fish: Change test-escapes so test is not endian-sensitive.Richard W.M. Jones2012-06-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The test used the external 'od' command to compare the output of guestfish with what it's supposed to be. Unfortunately by default this outputs groups of 2-byte words, with the words' endianness affected by the current hardware endianness. For example: x86-64$ echo -n ab | od 0000000 061141 0000002 ppc64$ echo -n ab | od 0000000 060542 0000002 By using 'od -b' instead we can output bytes instead of words, and there is no endianness issue, and the output is clearer: x86-64$ echo -n ab | od -b 0000000 141 142 0000002 ppc64$ echo -n ab | od -b 0000000 141 142 0000002
* btrfs: Modify test to correctly detect btrfs availability.Richard W.M. Jones2012-06-091-4/+6
|
* btrfs: Modify btrfs availability to test if the kernel supports btrfs.Richard W.M. Jones2012-06-091-1/+1
| | | | | | This is closer to the real meaning of "availability of btrfs", since just having the btrfs tool doesn't help much if it's not supported by the kernel too.
* New API: filesystem-available: tests for filesystem availability.Richard W.M. Jones2012-06-095-2/+113
| | | | | This also creates an internal filesystem_available function within the daemon.
* ppc64: Update README with notes about ppc64 support.Richard W.M. Jones2012-06-081-5/+11
|
* out-of-tree build/install fix for translationsHilko Bengen2012-06-081-8/+6
|
* Version 1.19.4.1.19.4Richard W.M. Jones2012-06-0717-169/+169
|
* Enhance BUGS script.Richard W.M. Jones2012-06-073-150/+175
| | | | | | | | | | | | | | | Since RHBZ was updated, the old python-bugzilla program broke. When it was fixed, I found the (undocumented) ordering of the results from the old tool was no longer true. This commit adds a small Perl script to sort the output predictably. Now bugs are sorted by both bug state and bug number, so the output should be more stable than before. Re-enable creation of the BUGS file in 'make dist' (this reverts commit 91f3456244e7843768da659e24ce0aeeb4ebe4b0). Also the BUGS file has been updated.
* arm: Use #if defined instead of #ifdef.Richard W.M. Jones2012-06-061-1/+1
| | | | No functional change.
* ocaml: Fix parameters to ocaml_guestfs_create.Richard W.M. Jones2012-06-061-3/+3
| | | | The first parameter (not used) is a unit, so declare it properly.
* ppc64: Avoid "defined by not used" warning for is_openable function.Richard W.M. Jones2012-06-021-0/+4
|
* Version 1.19.3.1.19.3Richard W.M. Jones2012-05-313-5/+5
|
* Split off GObject tests that require an applianceHilko Bengen2012-05-283-3/+32
|
* Fix out-of-tree build for GObject bindingsHilko Bengen2012-05-281-2/+2
|
* xattr: Refuse to set or get oversized extended attributes.Richard W.M. Jones2012-05-281-0/+29
| | | | | See: https://www.redhat.com/archives/libguestfs/2012-May/msg00152.html
* appliance: 'udevd' has been renamed, since it joined systemd.Richard W.M. Jones2012-05-281-28/+29
|
* appliance: Move udev (common package name) to the common section.Richard W.M. Jones2012-05-281-3/+1
| | | | This should be just code motion.
* Version 1.19.2.1.19.2Richard W.M. Jones2012-05-273-5/+5
|
* Update to latest gnulib.Richard W.M. Jones2012-05-261-0/+0
|
* Version 1.19.1.1.19.1Richard W.M. Jones2012-05-2519-793/+1820
|
* tests: Add a test of non-ASCII character fidelity on various filesystem ↵Richard W.M. Jones2012-05-255-0/+494
| | | | | | types (RHBZ#823887). Thanks Laszlo Ersek.
* doc: Add documentation covering use of utf8 option when mounting vfat ↵Richard W.M. Jones2012-05-251-0/+77
| | | | (RHBZ#823887).
* trace: Fix display of non-printing characters.Richard W.M. Jones2012-05-251-0/+5
| | | | | | | Previously the code would drop the first character in any sequence of non-printing characters that occurred within a string. Fix for commit e6f18c59d577dd0b443bc6a1d76f699c4e0dde9f.
* trace: Fix escaping of non-printable signed characters.Richard W.M. Jones2012-05-251-1/+1
| | | | Fix for commit e6f18c59d577dd0b443bc6a1d76f699c4e0dde9f.
* sysprep: remove the data and log files of puppetWanlong Gao2012-05-254-1/+55
| | | | | | Remove the data(keys) and log files of puppet. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* inspection: Don't fail if /etc/HOSTNAME or /etc/hostname are empty files ↵Richard W.M. Jones2012-05-242-4/+24
| | | | | | | | | | | | | | | | | | (RHBZ#823821). Change guestfs___first_line_of_file so that if the file is empty this returns an empty string instead of an error. This is consistent with the behaviour of this function in the case where the file starts with a \n character, where it would previously have returned an empty string. Change all callers so that they handle this case. Then change the hostname parsing code so that it doesn't give up when /etc/HOSTNAME is empty, but falls through to the next alternative, and similarly for /etc/hostname. Thanks Todd Mummert for finding and diagnosing this bug.
* inspection: Use parse_release_file to parse ttylinux release file.Richard W.M. Jones2012-05-241-2/+1
| | | | | | | | | parse_release_file should be used to set fs->product_name, instead of calling guestfs___first_line_of_file directory, although currently the two are equivalent. This is code motion and fixes commit b648b1813fc8e55db790435b5414d9be3ec765d2.
* fish/mount: Add better error message when -m (mount) fails (RHBZ#824043).Richard W.M. Jones2012-05-242-7/+16
|
* fish: Remove inaccurate comment from code.Richard W.M. Jones2012-05-241-4/+0
|
* virt-make-fs: When writing vfat, add utf8 option to mount (RHBZ#823885).Richard W.M. Jones2012-05-241-1/+10
|
* virt-make-fs: Provide a clearer error message when mkfs fails (RHBZ#823883).Richard W.M. Jones2012-05-241-1/+13
|