[Libguestfs] [PATCH V5 0/4] virt-resize: add support for resizing logical
Hu Tao
hutao at cn.fujitsu.com
Tue Oct 21 02:00:10 UTC 2014
ping...
On Wed, Oct 08, 2014 at 05:11:13PM +0800, Hu Tao wrote:
> Hi Rich,
>
> This is v5 series to add support for resizing MBR logical partitions. please review. Thanks!
>
> changes to v4:
> 1. add support to resize extended partition (--resize or --expand extended partition)
> 2. fix the problem of deficit of 512 bytes when expanding a logical partition
> (this problem can be reproduced in v4 by only expanding a logical partition, without resizing any other partitions)
> 3. update the test script to support logical partitions and extended partition
>
> changes to v3:
> 1. merge patch 1 and patch 3 in v3
> 2. let mbr_part_type return 'primary' for GPT partitions
> 3. add test for resizing logical partitions
> 4. fix extending the extended partition (yet). see patch 7.
>
> changes to v2:
> 1. remove p_part_num
> 2. remove filter_parts
> 3. name the function calculate_target_partitions
> 4. remove the code to restart guest introduced in v2
>
> changes to v1:
> 1. spit the patches so it's easier to review
> 2. fix the parted error caused by unaligned logical partitions
> 3. extend the content of logical partitions
> 4. refactor to make logical partitions a seperate list
>
> Hu Tao (3):
> resize: add partition type LogicalPartition
> resize: add support to resize logical partitions
> resize: support resize extended partition
>
> root (1):
> resize: test: add support for resizing extended and logical partitions
>
> resize/resize.ml | 118 +++++++++++++++++++++++++++++++++++++++------
> resize/test-virt-resize.pl | 32 ++----------
> 2 files changed, 107 insertions(+), 43 deletions(-)
>
> --
> 1.9.3
>
> _______________________________________________
> Libguestfs mailing list
> Libguestfs at redhat.com
> https://www.redhat.com/mailman/listinfo/libguestfs
More information about the Libguestfs
mailing list