qemu-server/PVE
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
..
API2 create_disks: refactor out and improve efidisk creation 2017-09-11 10:04:46 +02:00
CLI qm mtunnel/migrate: add resume VMID command 2017-08-07 09:23:56 +02:00
QemuServer import disk: add \n to die 2017-06-01 11:40:06 +02:00
VZDump add description of read/writes statistics in vzdump output 2017-05-03 09:14:50 +02:00
Makefile add QemuServer::Memory 2016-05-23 10:02:07 +02:00
QemuConfig.pm Fix freeze_needed 2017-07-31 08:28:48 +02:00
QemuMigrate.pm Remove unused variable declaration 2017-09-07 11:22:32 +02:00
QemuServer.pm create_disks: refactor out and improve efidisk creation 2017-09-11 10:04:46 +02:00
QMPClient.pm qmpclient : block-job-(complete|cancel) : set timeout to 10min 2017-01-05 09:09:46 +01:00