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

Richard W.M. Jones rjones at redhat.com
Thu Feb 5 12:00:19 UTC 2015


On Thu, Feb 05, 2015 at 11:14:33AM +0100, Pino Toscano wrote:
> 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.

Thanks - pushed.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list