5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-10 01:18:01 +03:00

use new helper PVE::Tools::next_spice_port()

This commit is contained in:
Dietmar Maurer 2013-12-09 13:23:26 +01:00
parent 78252ce7d0
commit cd339d1fe9

View File

@ -2508,7 +2508,7 @@ sub config_to_command {
my $pciaddr = print_pci_addr("spice", $bridges);
$spice_port = PVE::Tools::next_unused_port(61000, 61099);
$spice_port = PVE::Tools::next_spice_port();
push @$cmd, '-spice', "tls-port=${spice_port},addr=127.0.0.1,tls-ciphers=DES-CBC3-SHA,seamless-migration=on";