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

convert old monitor syntax to chardev

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
This commit is contained in:
Derumier Alexandre 2011-09-07 15:34:41 +02:00 committed by Dietmar Maurer
parent ca916eccfb
commit abb39b66d7

View File

@ -1880,7 +1880,8 @@ sub config_to_command {
my $use_virtio = 0;
my $socket = monitor_socket ($vmid);
push @$cmd, '-monitor', "unix:$socket,server,nowait";
push @$cmd, '-chardev', "socket,id=monitor,path=$socket,server,nowait";
push @$cmd, '-mon', "chardev=monitor,mode=readline";
$socket = vnc_socket ($vmid);
push @$cmd, '-vnc', "unix:$socket,x509,password";