[pve-devel] [PATCH] fixed bug 662, wrong subroutine for parsing startup order

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 16 13:46:27 CEST 2015


Changed from old, now missing, subroutine parse_startup() to new
pve_parse_startup_order() in qemu-server and pve-manager

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

Fix for the qemu-server repo

 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 17c67ab..25c6d56 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -4400,7 +4400,7 @@ sub vm_stop {
 	    $conf = load_config($vmid);
 	    check_lock($conf) if !$skiplock;
 	    if (!defined($timeout) && $shutdown && $conf->{startup}) {
-		my $opts = parse_startup($conf->{startup});
+		my $opts = PVE::JSONSchema::pve_parse_startup_order($conf->{startup});
 		$timeout = $opts->{down} if $opts->{down};
 	    }
 	}
-- 
2.1.4




More information about the pve-devel mailing list