Some OSes (e.g. Windows Server 2012 R2) fail to boot after virt-resize
due to changed disk guid. To fix it, we add new APIs:
part_get_disk_guid
part_set_disk_guid
part_set_disk_guid_random
We also preserve disk GUID in virt-resize.
Maxim Perevedentsev (3):
New API: part_get_disk_guid and part_set_disk_guid.
New API: part_set_disk_guid_random.
resize: preserve GPT disk GUID.
daemon/parted.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 52 ++++++++++++++++++++++++++++++++++++
resize/resize.ml | 12 ++++++++-
src/MAX_PROC_NR | 2 +-
4 files changed, 139 insertions(+), 2 deletions(-)
--
1.8.3.1