Revert "vncproxy: wait max 10s for the socket if it does not exist"

This reverts commit 58504d5edf.

The patch only works if the VM is on local host.
This commit is contained in:
Dietmar Maurer 2013-02-28 12:49:21 +01:00
parent 60635a5733
commit bb1e32937a

View File

@ -1110,9 +1110,6 @@ __PACKAGE__->register_method({
my $realcmd = sub {
my $upid = shift;
my $c = 0;
while ( ++$c < 10 && !-e "/var/run/qemu-server/$vmid.vnc" ) { sleep(1); }
syslog('info', "starting vnc proxy $upid\n");
my $qmcmd = [@$remcmd, "/usr/sbin/qm", 'vncproxy', $vmid];