]> git.proxmox.com Git - qemu-server.git/commitdiff
commit pending values when changing CDROM
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 14 Feb 2015 08:20:41 +0000 (09:20 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 14 Feb 2015 08:20:41 +0000 (09:20 +0100)
PVE/QemuServer.pm

index 032cfb07f6a3aa09817caa2f6f864ae94d16c5ba..1a6ce746f8d57c41c0aeecea510c56f25ca3644a 100644 (file)
@@ -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;
            }
        }
     }