[Libguestfs] resize: Preserve GPT GUID so we don't break EFI bootloaders (RHBZ#1189284)

Pino Toscano ptoscano at redhat.com
Thu Feb 5 10:14:33 UTC 2015


On Thursday 05 February 2015 08:40:37 Richard W.M. Jones wrote:
> virt-resize didn't preserve the per-partition GPT GUID.
> 
> Now that guests using UEFI are becoming common (basically it's the
> default on aarch64) we need to take into account that sometimes the
> partition GUID is used by the bootloader NVRAM variables to identify
> the boot partition, so it must be preserved across resize.
> 
> This bug caused the 'virt-builder --size' option to fail on aarch64.

LGTM.

-- 
Pino Toscano




More information about the Libguestfs mailing list