Re: [Libguestfs] [hivex][PATCH v2] OS X, bootstrap: Locate pkg.m4

2012-06-12 Thread Richard W.M. Jones
On Mon, Jun 11, 2012 at 11:54:14AM -0700, Alex Nelson wrote: OS X does not include pkg-config by default. This causes ./configure to fail when invoking PKG_CHECK_MODULES for libxml2. This change autodetects the path for aclocal, c/o RWMJ noting the real problem is a deficiency in aclocal on

Re: [Libguestfs] [hivex][PATCH v2] OS X, bootstrap: Locate pkg.m4

2012-06-12 Thread Jim Meyering
Richard W.M. Jones wrote: On Mon, Jun 11, 2012 at 11:54:14AM -0700, Alex Nelson wrote: OS X does not include pkg-config by default. This causes ./configure to fail when invoking PKG_CHECK_MODULES for libxml2. This change autodetects the path for aclocal, c/o RWMJ noting the real problem is

[Libguestfs] [PATCH] Add virtio-scsi support to febootstrap.

2012-06-12 Thread Richard W.M. Jones
This patch is the minimum possible to add virtio-scsi support to febootstrap. Problem: SCSI devices are detected asynchronously after the Linux kernel module is loaded. The usual solutions to this involve scsi_wait_scan (deprecated apparently) or udev. However febootstrap doesn't use udev, and

[Libguestfs] [PATCH] init: Add 'root=...' parameter to specify the appliance.

2012-06-12 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com This is required when using virtio-scsi with libguestfs. --- helper/init.c | 78 - 1 file changed, 66 insertions(+), 12 deletions(-) diff --git a/helper/init.c b/helper/init.c index

[Libguestfs] [PATCH 0/5] Assorted patches to add virtio-scsi support.

2012-06-12 Thread Richard W.M. Jones
These assorted patches end up with adding virtio-scsi support to libguestfs. It passes libguestfs-test-tool, but I haven't yet tried to run the full set of tests. In theory 26 devices can be added, but it's likely that certain parts of the daemon will break if you actually try this. This of

[Libguestfs] [PATCH 1/5] New API: fstrim - allow filesystem trim.

2012-06-12 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com --- daemon/Makefile.am |1 + daemon/fstrim.c| 97 generator/generator_actions.ml | 27 ++- gobject/Makefile.inc |6 ++- po/POTFILES|

[Libguestfs] [PATCH 3/5] Require QEMU = 1.0.

2012-06-12 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com 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

[Libguestfs] [PATCH v2 4/9] Record output of qemu -device '?'.

2012-06-12 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com This allows us to find out what qemu devices are supported at runtime. --- configure.ac |8 src/guestfs-internal.h |1 + src/guestfs.c |1 + src/launch.c |9 + 4 files changed, 19

[Libguestfs] [PATCH v2 1/9] New API: fstrim - allow filesystem trim.

2012-06-12 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com --- daemon/Makefile.am |1 + daemon/fstrim.c| 97 generator/generator_actions.ml | 27 ++- gobject/Makefile.inc |6 ++- po/POTFILES|

[Libguestfs] [PATCH v2 9/9] tests/md: Don't hard code /dev/vda in expected output of tests.

2012-06-12 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com Use a small sed script to canonicalize the device names. --- tests/md/test-inspect-fstab.sh| 15 --- tests/md/test-list-filesystems.sh | 12 ++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git

[Libguestfs] [PATCH v2 5/9] appliance: Add support for virtio-scsi.

2012-06-12 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com This requires febootstrap = 3.15. --- README |3 +- src/guestfs-internal.h |3 ++ src/launch.c | 140 +++- 3 files changed, 121 insertions(+), 25 deletions(-) diff --git