qemu-server/PVE/API2
Thomas Lamprecht 3e1f112286 create_disks: refactor out and improve efidisk creation
factor out code in a new create_efidisk submethod, as else this code
is hardly readable as the efidisk0 case is a special case. Refer from
putting all this specialised handling directly to the much shorter
code for all other cases.

Also the disk was created with a specific format and then a format
detection on the newly created disk was done, which is pretty
useless, clear that up.

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 create_disks: refactor out and improve efidisk creation 2017-09-11 10:04:46 +02:00