[Libguestfs] [PATCH RFC] resize: add p_mbr_p_type as member of type partition

2015-03-30 Thread Chen Hanxiao
Add p_mbr_p_type as member of type partition to describe mbr partition type. Currently we use: List.filter (fun p - parttype MBR || p.G.part_num = 4_l) to filter out logical partitions. Commit 0c396a4bce578486dfc4a38e1f8c47fd5c2836ea introduce API part_get_mbr_part_type, we could use this to

Re: [Libguestfs] Point-in-time snapshots (was: Re: Inspection of disk snapshots)

2015-03-30 Thread Stefan Hajnoczi
On Fri, Mar 27, 2015 at 03:35:02PM +, Richard W.M. Jones wrote: On Fri, Mar 27, 2015 at 03:21:25PM +, Stefan Hajnoczi wrote: On Fri, Mar 27, 2015 at 12:31:41PM +, Richard W.M. Jones wrote: On Fri, Mar 27, 2015 at 12:15:34PM +, Stefan Hajnoczi wrote: On Thu, Mar 26, 2015

Re: [Libguestfs] [PATCH RFC] resize: add p_mbr_p_type as member of type partition

2015-03-30 Thread Richard W.M. Jones
Yes it seems a straightforward transformation. I have pushed it. Thanks, Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs,

[Libguestfs] [PATCH] actions.ml: fix a typo

2015-03-30 Thread Chen Hanxiao
s/inclding/including Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- generator/actions.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/actions.ml b/generator/actions.ml index bd654a3..11ea436 100644 --- a/generator/actions.ml +++ b/generator/actions.ml