From: Dietmar Maurer Date: Sat, 14 Feb 2015 08:20:41 +0000 (+0100) Subject: commit pending values when changing CDROM X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=34758d6608c8b47e206228f6bbaaeeeb3b0b3c42;p=qemu-server.git commit pending values when changing CDROM --- diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 032cfb0..1a6ce74 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -4082,6 +4082,8 @@ sub vmconfig_update_disk { vm_mon_cmd($vmid, "eject", force => JSON::true,device => "drive-$opt"); # force eject if locked vm_mon_cmd($vmid, "change", device => "drive-$opt",target => "$path") if $path; } + + return 1; } } }