qemu-server/PVE/API2
Thomas Lamprecht a1d8c038c5 efidisk: do not hard code efivar base image size
The size of this image is not fixed, it increased to 528k in more
recent build of OVMF and could increase further (not likely, but
possible).

Instead of changing the hardcoded value move to a more generic
approach and read the size from the base image at creation time.

Use the new convert_size method and generalise the assignment of
size and volid between the efidisk and the normal case, as a part of
this change.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-09-11 10:04:46 +02:00
..
Makefile imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00
Qemu.pm efidisk: do not hard code efivar base image size 2017-09-11 10:04:46 +02:00