Displaying 4 results from an estimated 4 matches for "c56a91a".
2014 Sep 22
1
Re: [PATCH v3 5/7] resize: add function mbr_part_type
...". The type is used by parted when adding partitions.
>
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
> resize/resize.ml | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/resize/resize.ml b/resize/resize.ml
> index 8b43306..c56a91a 100644
> --- a/resize/resize.ml
> +++ b/resize/resize.ml
> @@ -1091,10 +1091,17 @@ read the man page virt-resize(1).
>
> calculate_target_partitions 1 start ~create_surplus:true partitions in
>
> + (* For GPT, the part type simply becomes partition name, so we don'...
2014 Sep 22
13
[PATCH v3 0/7] add support to resize MBR logical partitions
Hi Rich,
This is v3 series to add support for resizing MBR logical partitions.
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
2014 Sep 22
0
[PATCH v3 5/7] resize: add function mbr_part_type
..., "extended" and
"logical". The type is used by parted when adding partitions.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
resize/resize.ml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/resize/resize.ml b/resize/resize.ml
index 8b43306..c56a91a 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -1091,10 +1091,17 @@ read the man page virt-resize(1).
calculate_target_partitions 1 start ~create_surplus:true partitions in
+ (* For GPT, the part type simply becomes partition name, so we don't
+ * handle the case specifical...
2014 Sep 22
0
[PATCH v3 6/7] resize: add partition type LogicalPartition
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
resize/resize.ml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/resize/resize.ml b/resize/resize.ml
index c56a91a..3f804a0 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -75,6 +75,7 @@ and partition_id =
type partition_type =
| PrimaryPartition
+ | LogicalPartition
let rec debug_partition p =
eprintf "%s:\n" p.p_name;
@@ -449,13 +450,15 @@ read the man page virt-resize(1).
le...