summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* virt-format: Don't call wipefs unless API is available.Richard W.M. Jones2012-06-221-1/+25
| | | | | This API is optional. Don't call it unless it's available in the appliance.
* tests: Add SKIP_TEST_* variables to allow these tests to be skipped.Richard W.M. Jones2012-06-228-0/+40
| | | | | By setting these variables, we can skip tests that fail on RHEL 5.
* FAQ: Mention update-guestfs-appliance (thanks Steven Dake).Richard W.M. Jones2012-06-191-0/+4
|
* build: Workaround for AC_PROG_SED not existing.Richard W.M. Jones2012-06-181-1/+7
| | | | This didn't exist on ancient autoconf in RHEL 5.
* build: Define abs_builddir if not defined already.Richard W.M. Jones2012-06-183-0/+9
| | | | | | This is missing on RHEL 5. This updates commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6.
* Version 1.19.9.1.19.9Richard W.M. Jones2012-06-1818-325/+325
|
* fuse: Skip 'truncate' tests if this command is missing.Richard W.M. Jones2012-06-181-9/+12
|
* tests: Replace truncate command with 'guestfish sparse'.Richard W.M. Jones2012-06-186-7/+13
| | | | | | | | | | RHEL 5 didn't have the truncate command, but we can replace: truncate -s SIZE FILE with the roughly equivalent command: guestfish sparse FILE SIZE
* fuse: Add replacement for fuse_opt_add_opt_escaped.Richard W.M. Jones2012-06-182-1/+37
| | | | | | | RHEL 5-era FUSE didn't have this function. I copied the function out of upstream FUSE, since the license is compatible.
* build: Define builddir and abs_srcdir when they are missing.Richard W.M. Jones2012-06-1816-10/+61
| | | | | | | | | | | | | | | | | | | | | RHEL 5-era autoconf did not define these, so define them manually when they are missing. Define builddir as '.' The scripts require this. It won't work in the srcdir != builddir case, but we don't care about that for RHEL 5. This commit also moves the builddir / abs_srcdir variable setting above the include of subdir-rules.mk, in case that include uses these variables. Useful script: for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do if ! grep -q '^abs_srcdir' $f; then echo missing in $f fi done
* ocaml: Use OCAMLOPTFLAGS when compiling .cmx (ie. native code) files.Richard W.M. Jones2012-06-183-3/+3
|
* configure: Look for mkisofs as well as genisoimage.Richard W.M. Jones2012-06-181-2/+2
| | | | For our purposes, the two tools are compatible.
* Ignore .gdb_history file.Richard W.M. Jones2012-06-141-0/+1
|
* ppc64: is_openable function needed on all platforms now.Richard W.M. Jones2012-06-141-4/+0
| | | | This fixes commit 295d6af48d1d8c5238d1536b0c6a2ece42b0b445.
* Version 1.19.8.1.19.8Richard W.M. Jones2012-06-146-59/+153
|
* tests: Add tests for extended attrs and SELinux, direct and via FUSE.Richard W.M. Jones2012-06-148-0/+466
| | | | | | | Note that the SELinux + FUSE test is disabled because of: https://bugzilla.redhat.com/show_bug.cgi?id=811217 https://bugzilla.redhat.com/show_bug.cgi?id=812798#c42
* virtio-scsi: Increase udev timeout.Richard W.M. Jones2012-06-142-2/+2
| | | | | In Koji, when you've got 200+ disks, udev times out before all the udev events have been processed.
* virt-edit: Document CVE-2012-2690.Richard W.M. Jones2012-06-141-0/+14
|
* Require febootstrap >= 3.17.Richard W.M. Jones2012-06-141-1/+1
|
* Version 1.19.7.1.19.7Richard W.M. Jones2012-06-1320-20919/+21961
|
* tests: Add a test which adds the maximum number of disks and uses them.Richard W.M. Jones2012-06-134-0/+194
|
* virt-df: Use guestfs_max_disks instead of hard-coding limit of 25.Richard W.M. Jones2012-06-133-49/+142
| | | | And comprehensively fix it so it works with > 26 disks.
* New API: device-index.Richard W.M. Jones2012-06-133-2/+38
| | | | | | This returns the index of the device, eg. /dev/sdb => 1. Or you can think of it as the order that the device was added, or the index of the device in guestfs_list_devices.
* New API: guestfs_canonical_device_name.Richard W.M. Jones2012-06-1312-122/+117
| | | | This API makes device names canonical, eg. /dev/vda1 -> /dev/sda1.
* lvm-filter: Make it work with > 26 devices.Richard W.M. Jones2012-06-131-11/+14
| | | | Thanks Alasdair Kergon.
* 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
|