qemu-server/PVE
Fabian Grünbichler 1bb8f00999 update_vm: check whether opt is set before deleting
otherwise we get lots uninitialized warnings:

update VM 600: -delete unused7
Use of uninitialized value $data in split at /usr/share/perl5/PVE/JSONSchema.pm line 533.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/PVE/API2/Qemu.pm line 1012.
Use of uninitialized value $volid in pattern match (m//) at /usr/share/perl5/PVE/QemuServer.pm line 1824.
Use of uninitialized value $volid in pattern match (m//) at /usr/share/perl5/PVE/Storage/Plugin.pm line 201.
Use of uninitialized value $volid in concatenation (.) or string at /usr/share/perl5/PVE/Storage/Plugin.pm line 205.

vs:

update VM 600: -delete unused7
cannot delete 'unused7' - not set in current configuration!

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-23 11:41:47 +01:00
..
API2 update_vm: check whether opt is set before deleting 2017-03-23 11:41:47 +01:00
CLI add setup_environment hook to CLIHandler classes 2017-01-12 14:10:24 +01:00
QemuServer numaX : use cpus option multiple time if cpulist 2016-10-10 10:16:37 +02:00
VZDump Display volume size in log when doing a volume backup 2016-12-22 10:25:13 +01:00
Makefile add QemuServer::Memory 2016-05-23 10:02:07 +02:00
QemuConfig.pm vmstate snapshot : activate|deactivate volume 2016-11-17 09:46:54 +01:00
QemuMigrate.pm defined() style cleanup 2017-02-28 12:46:47 +01:00
QemuServer.pm add Skylake to CPU Models 2017-02-28 12:19:14 +01:00
QMPClient.pm qmpclient : block-job-(complete|cancel) : set timeout to 10min 2017-01-05 09:09:46 +01:00