From 3da85107904b95e7a3151c29a5530b57cd22ce61 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 24 Oct 2012 08:59:31 +0200 Subject: [PATCH] vncproxy: wait until vnc port is ready --- Makefile | 2 +- PVE/API2/Qemu.pm | 2 ++ changelog.Debian | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5eb1e16e..7e0a1c6e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.2 VERSION=2.0 PACKAGE=qemu-server -PKGREL=61 +PKGREL=62 DESTDIR= PREFIX=/usr diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index a4b84e9f..f4ae5666 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1091,6 +1091,8 @@ __PACKAGE__->register_method({ my $upid = $rpcenv->fork_worker('vncproxy', $vmid, $authuser, $realcmd); + PVE::Tools::wait_for_vnc_port($port); + return { user => $authuser, ticket => $ticket, diff --git a/changelog.Debian b/changelog.Debian index 33bc0998..285ba63f 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +qemu-server (2.0-62) unstable; urgency=low + + * vncproxy: wait until vnc port is ready + + -- Proxmox Support Team Wed, 24 Oct 2012 08:58:52 +0200 + qemu-server (2.0-61) unstable; urgency=low * add 'win8' ostype (same defaults as win7 for now)