[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [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 content of logical partitions
  4. refactor to make logical partitions a seperate list

Hu Tao (7):
  resize: introduce partition_type
  resize: simplify the code to filter parts
  resize: add function find_partitions
  resize: add function calculate_target_partitions
  resize: add function mbr_part_type
  resize: add partition type LogicalPartition
  resize: add support to resize logical partitions

 resize/resize.ml | 145 +++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 110 insertions(+), 35 deletions(-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]