mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-08 04:53:01 +00:00
use qmeventd to execute qm cleanup
we reverse the direction of the event socket (this does not prevent live migration) and point it to wher qmeventd listens Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
3ea84aeb7c
commit
b4496b9ed5
@ -3434,8 +3434,7 @@ sub config_to_command {
|
||||
push @$cmd, '-mon', "chardev=qmp,mode=control";
|
||||
|
||||
if (qemu_machine_feature_enabled($machine_type, $kvmver, 2, 12)) {
|
||||
my $eventsocket = qmp_socket($vmid, 0, 'event');
|
||||
push @$cmd, '-chardev', "socket,id=qmp-event,path=$eventsocket,server,nowait";
|
||||
push @$cmd, '-chardev', "socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5";
|
||||
push @$cmd, '-mon', "chardev=qmp-event,mode=control";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user