[Libguestfs] [PATCH 0/3] virt-resize: preserve GPT partitions label

Pino Toscano ptoscano at redhat.com
Tue Feb 4 15:01:30 UTC 2014


Hi,

attached there are few patches to implement a way to get the label of
GPT partitions (refactoring an existing function and adding a new
daemon API) and using it in virt-resize to restore them when copying
partitions.

Thanks,

Pino Toscano (3):
  daemon: parted: refactor sgdisk info parsing code
  New API: part-get-name (RHBZ#593511).
  resize: preserve GPT partition names (RHBZ#1060404).

 daemon/parted.c      | 86 ++++++++++++++++++++++++++++++++++++++++++----------
 generator/actions.ml | 13 ++++++++
 resize/resize.ml     | 19 +++++++++++-
 src/MAX_PROC_NR      |  2 +-
 4 files changed, 102 insertions(+), 18 deletions(-)

-- 
1.8.3.1




More information about the Libguestfs mailing list