[Libguestfs] [PATCH v2] New API: btrfs-image

2015-03-16 Thread Chen Hanxiao
Signed-off-by: Chen Hanxiao --- v2: add optargs_bitmask check daemon/btrfs.c | 52 generator/actions.ml | 22 ++ src/MAX_PROC_NR | 2 +- 3 files changed, 75 insertions(+), 1 deletion(-) diff --git a/daemon/btrf

[Libguestfs] [PATCH] New API: part_get_part_type for showing partition type

2015-03-16 Thread Chen Hanxiao
This patch will add support for getting partition type of a partiton numbered device. Signed-off-by: Chen Hanxiao --- daemon/parted.c | 112 +++ generator/actions.ml | 18 + src/MAX_PROC_NR | 2 +- 3 files changed, 131 insertio

Re: [Libguestfs] [PATCH] part-list: add support for show partition type

2015-03-16 Thread Chen, Hanxiao
> -Original Message- > From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] On > Behalf Of Pino Toscano > Sent: Friday, March 13, 2015 6:32 PM > To: libguestfs@redhat.com > Subject: Re: [Libguestfs] [PATCH] part-list: add support for show partition > type > > On Fr

Re: [Libguestfs] [PATCH] guestfs.pod: don't encourage 'make syntax-check'

2015-03-16 Thread Chen, Hanxiao
> -Original Message- > From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] On > Behalf Of Chen Hanxiao > Sent: Friday, March 13, 2015 1:33 PM > To: libguestfs@redhat.com > Subject: [Libguestfs] [PATCH] guestfs.pod: don't encourage 'make syntax-check' > > Signed-off

Re: [Libguestfs] [PATCH] tests: add test case of set-label and vfs-label for btrfs

2015-03-16 Thread Chen, Hanxiao
> -Original Message- > From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] On > Behalf Of Chen Hanxiao > Sent: Friday, March 13, 2015 6:00 PM > To: libguestfs@redhat.com > Subject: [Libguestfs] [PATCH] tests: add test case of set-label and vfs-label > for > btrfs >

Re: [Libguestfs] Can't create any KVM template due to the error with libguestfs

2015-03-16 Thread Thirumalai Nambi
libtool-2.2.6-15.5.el6.x86_64 upstart-0.6.5-13.el6_5.3.x86_64 atmel-firmware-1.3-7.el6.noarch redhat-rpm-config-9.0.3-42.el6.centos.noarch plymouth-scripts-0.8.3-27.el6.centos.1.x86_64 patchutils-0.3.1-3.1.el6.x86_64 bc-1.06.95-1.el6.x86_64 cscope-15.6-6.el6.x86_64 coreutils-8.4-37.el6.x86_64 ncurs

Re: [Libguestfs] Can't create any KVM template due to the error with libguestfs

2015-03-16 Thread Thirumalai Nambi
[root@fr1 tmp]# cd /tmp [root@fr1 tmp]# cpio -id < /usr/lib64/guestfs/supermin.d/daemon.img cpio: sbin/guestfsd not created: newer or same age version exists cpio: etc/guestfsd.suppressions not created: newer or same age version exists 3629 blocks [root@fr1 tmp]# ldd /tmp/sbin/guestfsd

Re: [Libguestfs] Name resolution not working inside virt-customize

2015-03-16 Thread Lee Revell
On 03/16/2015 09:45 AM, Richard W.M. Jones wrote: If you look at the logs you provided, ethX isn't appearing in the guest, so something is wrong. Thanks, I ended up just switching to a Fedora 21 build host. Lee ___ Libguestfs mailing list Libguest

[Libguestfs] [PATCH] inspection: add support for systemd .mount files

2015-03-16 Thread Maros Zatko
Fixes RHBZ#1113153. --- src/inspect-fs-unix.c | 240 ++ 1 file changed, 240 insertions(+) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index 2abbf24..6dfc299 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -96,6 +96,9

[Libguestfs] [PATCH] RFE: Inspection should support systemd mount units

2015-03-16 Thread Maros Zatko
Adds support for systemd .mount files, uses Augeas to extract mount points. Fixes RHBZ#1113153. Maros Zatko (1): inspection: add support for systemd .mount files src/inspect-fs-unix.c | 240 ++ 1 file changed, 240 insertions(+) -- 1.9.3 __

Re: [Libguestfs] Can't create any KVM template due to the error with libguestfs

2015-03-16 Thread Thirumalai Nambi
Hi, Two doubts. 1. What I've to replace in "NEEDED"? or I need to just run the whole command you given 2. You mean this one, rpm -qa | grep libguestfs* On Mon, Mar 16, 2015 at 5:35 PM, Richard W.M. Jones wrote: > On Sat, Mar 14, 2015 at 11:14:55PM +0530, Thirumalai Nambi wrote: > > Thanks fo

Re: [Libguestfs] Name resolution not working inside virt-customize

2015-03-16 Thread Richard W.M. Jones
[Please keep replies on the list] On Mon, Mar 16, 2015 at 09:28:28AM -0400, Lee Revell wrote: > On 03/16/2015 09:14 AM, Lee Revell wrote: > >>This explains why the network doesn't work and why dhclient doesn't > >>work too. I don't know why virtio-net isn't used -- perhaps it isn't > >>compiled i

Re: [Libguestfs] Name resolution not working inside virt-customize

2015-03-16 Thread Lee Revell
On 03/16/2015 08:13 AM, Richard W.M. Jones wrote: I went back and had a look at the guestfish-network-test*.log files that you sent previously, and there is one major problem: virtio_net.ko doesn't exist on your host (or it does exist, but supermin isn't picking it up for the appliance, but this

Re: [Libguestfs] Name resolution not working inside virt-customize

2015-03-16 Thread Richard W.M. Jones
On Fri, Mar 13, 2015 at 04:59:32PM -0400, Lee Revell wrote: > On 03/13/2015 01:29 PM, Richard W.M. Jones wrote: > > > >I wonder why dhclient doesn't create /etc/resolv.conf . > > > > FWIW, I've also found that on the fedora 21 host, supermin passes > all 8 "make check" tests. On the Ubuntu 14.04 h

Re: [Libguestfs] Can't create any KVM template due to the error with libguestfs

2015-03-16 Thread Richard W.M. Jones
On Sat, Mar 14, 2015 at 11:14:55PM +0530, Thirumalai Nambi wrote: > Thanks for your update, > > I got the libguestfs packages from the centOS base repo and installed it > via yum. [...] > Do you think the issue related to the running kernel? No. I've no idea what's going on, and I cannot reprodu

Re: [Libguestfs] [PATCH] btrfs-qgroup-show: add check for "--raw"

2015-03-16 Thread Chen, Hanxiao
> -Original Message- > From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] On > Behalf Of Pino Toscano > Sent: Monday, March 16, 2015 5:24 PM > To: libguestfs@redhat.com > Subject: Re: [Libguestfs] [PATCH] btrfs-qgroup-show: add check for "--raw" > > On Sunday 15 M

[Libguestfs] [PATCH v2] btrfs-qgroup-show: add check for "--raw"

2015-03-16 Thread Chen Hanxiao
btrfs-prog commit: 58a39524619f38d193b8adc3d57888ec07b612aa change the default output to binary prefix, and introduced a new option '--raw' to keep the traditional behaviour. This patch will add a check function to determine whether to add '--raw' option to 'btrfs show qgroup'. Signed-off-by: Che

Re: [Libguestfs] [PATCH] btrfs-qgroup-show: add check for "--raw"

2015-03-16 Thread Pino Toscano
On Sunday 15 March 2015 23:08:07 Chen Hanxiao wrote: > btrfs-prog commit: > 58a39524619f38d193b8adc3d57888ec07b612aa > change the default output to binary prefix, > and introduced a new option '--raw' > to keep the traditional behaviour. > > This patch will add a check function to determine > whet

Re: [Libguestfs] Can't create any KVM template due to the error with libguestfs

2015-03-16 Thread Thirumalai Nambi
Any leads buddy? On Sat, Mar 14, 2015 at 11:14 PM, Thirumalai Nambi < thirumalai.sa...@gmail.com> wrote: > Thanks for your update, > > I got the libguestfs packages from the centOS base repo and installed it > via yum. > > = > [root@node1 ~]# yum install libguest* > Loaded plugin