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

2015-03-24 Thread Chen, Hanxiao
> -Original Message- > From: Richard W.M. Jones [mailto:rjo...@redhat.com] > Sent: Tuesday, March 24, 2015 9:52 PM > To: Chen, Hanxiao/陈 晗霄 > Cc: libguestfs@redhat.com > Subject: Re: [Libguestfs] [PATCH 2/2] New API: part_get_part_type for showing > partition type > > On Tue, Mar 24, 201

Re: [Libguestfs] [PATCH 1/2] parted: introduce enum for whether parted has option -m

2015-03-24 Thread Chen, Hanxiao
> -Original Message- > From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] On > Behalf Of Richard W.M. Jones > Sent: Tuesday, March 24, 2015 9:31 PM > To: Pino Toscano > Cc: libguestfs@redhat.com > Subject: Re: [Libguestfs] [PATCH 1/2] parted: introduce enum for whe

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

2015-03-24 Thread Richard W.M. Jones
On Tue, Mar 24, 2015 at 07:20:17AM -0400, Chen Hanxiao wrote: > This patch will add support for getting partition type > of a partiton numbered device. > > Signed-off-by: Chen Hanxiao I have pushed this. I changed the API name to part_get_mbr_part_type since it's really MBR-specific, and also w

Re: [Libguestfs] [PATCH 1/2] parted: introduce enum for whether parted has option -m

2015-03-24 Thread Richard W.M. Jones
On Tue, Mar 24, 2015 at 01:15:21PM +0100, Pino Toscano wrote: > On Tuesday 24 March 2015 07:20:16 Chen Hanxiao wrote: > > Signed-off-by: Chen Hanxiao > > --- > > daemon/parted.c | 30 ++ > > 1 file changed, 18 insertions(+), 12 deletions(-) > > > > diff --git a/daemon

Re: [Libguestfs] [PATCH v3] New API: btrfs-image

2015-03-24 Thread Richard W.M. Jones
On Mon, Mar 23, 2015 at 10:51:48PM -0400, Chen Hanxiao wrote: > Signed-off-by: Chen Hanxiao > --- > v3: remove optional paramter numthreads(-t) > v2: add optargs_bitmask check Thanks - pushed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my progra

Re: [Libguestfs] [PATCH] customize: add --move

2015-03-24 Thread Richard W.M. Jones
On Mon, Mar 23, 2015 at 07:47:25PM +0100, Maros Zatko wrote: > From: Maros Zatko > > This adds --move SOURCE:DEST, equivalent of calling g#mv src dst. Thanks - added both. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualiza

Re: [Libguestfs] [PATCH v2] virt-ls: support drive letters on Windows

2015-03-24 Thread Richard W.M. Jones
On Mon, Mar 23, 2015 at 05:44:35PM +0100, Maros Zatko wrote: > --- > cat/ls.c | 32 +++- > 1 file changed, 31 insertions(+), 1 deletion(-) > > diff --git a/cat/ls.c b/cat/ls.c > index 9161fb6..b7a99b2 100644 > --- a/cat/ls.c > +++ b/cat/ls.c > @@ -37,6 +37,7 @@ > >

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

2015-03-24 Thread Richard W.M. Jones
On Tue, Mar 24, 2015 at 09:19:06AM +, Chen, Hanxiao wrote: > > > > -Original Message- > > From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] > > On > > Behalf Of Pino Toscano > > Sent: Tuesday, March 24, 2015 4:44 PM > > To: libguestfs@redhat.com > > Subject:

Re: [Libguestfs] [PATCH 1/2] parted: introduce enum for whether parted has option -m

2015-03-24 Thread Pino Toscano
On Tuesday 24 March 2015 07:20:16 Chen Hanxiao wrote: > Signed-off-by: Chen Hanxiao > --- > daemon/parted.c | 30 ++ > 1 file changed, 18 insertions(+), 12 deletions(-) > > diff --git a/daemon/parted.c b/daemon/parted.c > index a7bcb99..64a7d3c 100644 > --- a/daemon/p

[Libguestfs] [PATCH 0/2] New API: part_get_part_type

2015-03-24 Thread Chen Hanxiao
Chen Hanxiao (2): parted: introduce enum for whether parted has option -m New API: part_get_part_type for showing partition type daemon/parted.c | 136 ++- generator/actions.ml | 18 +++ src/MAX_PROC_NR | 2 +- 3 files changed,

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

2015-03-24 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 | 106 +++ generator/actions.ml | 18 + src/MAX_PROC_NR | 2 +- 3 files changed, 125 insertio

[Libguestfs] [PATCH 1/2] parted: introduce enum for whether parted has option -m

2015-03-24 Thread Chen Hanxiao
Signed-off-by: Chen Hanxiao --- daemon/parted.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/daemon/parted.c b/daemon/parted.c index a7bcb99..64a7d3c 100644 --- a/daemon/parted.c +++ b/daemon/parted.c @@ -33,6 +33,12 @@ GUESTFSD_EXT_CMD(str_

Re: [Libguestfs] Fwd: Inspection of disk snapshots

2015-03-24 Thread Richard W.M. Jones
On Tue, Mar 24, 2015 at 10:54:05AM +0200, NoxDaFox wrote: > I was sure I was doing something wrong as I'm not yet fully aware of QCOW2 > snapshot feature and how it interacts with libguestfs. > > I'll try to explain better the scenario: > > I have several hosts running lots of VMs which are gener

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

2015-03-24 Thread Chen, Hanxiao
> -Original Message- > From: libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] On > Behalf Of Pino Toscano > Sent: Tuesday, March 24, 2015 4:44 PM > To: libguestfs@redhat.com > Subject: Re: [Libguestfs] [PATCH] New API: part_get_part_type for showing > partition > type

[Libguestfs] Fwd: Inspection of disk snapshots

2015-03-24 Thread NoxDaFox
I was sure I was doing something wrong as I'm not yet fully aware of QCOW2 snapshot feature and how it interacts with libguestfs. I'll try to explain better the scenario: I have several hosts running lots of VMs which are generated from few base images, say A, B, C the base images (backing file)

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

2015-03-24 Thread Pino Toscano
On Tuesday 24 March 2015 05:25:51 Chen, Hanxiao wrote: > > > -Original Message- > > From: Richard W.M. Jones [mailto:rjo...@redhat.com] > > Sent: Monday, March 23, 2015 9:29 PM > > To: Chen, Hanxiao/陈 晗霄 > > Cc: libguestfs@redhat.com > > Subject: Re: [Libguestfs] [PATCH] New API: part_get_