[pve-devel] [RFC PATCH qemu-server] add qemumonitor.c

Alexandre DERUMIER aderumier at odiso.com
Wed Oct 10 11:10:21 CEST 2018


>>yes you are right, my idea was to have a second qmp socket just 
>>for those events,

ok, great !

>> and of course we could extend it to also 
>>react to other events (i have no idea what might be interesting 
>>besides the shutdown event) 

don't have idea for now (maybe catch disk-io errors), but could be interesting indeed.


----- Mail original -----
De: "Dominik Csapak" <d.csapak at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mardi 9 Octobre 2018 16:58:24
Objet: Re: [pve-devel] [RFC PATCH qemu-server] add qemumonitor.c

On 10/9/18 4:50 PM, Alexandre DERUMIER wrote: 
>>> this adds a program that can listen to qemu qmp events on a given socket 
> 
> Does it work in parallel with sending qmp command ? 
> 
> As far I remember, some year ago, it was not possible to have 2 qmp clients at 
> the same time. (and needed some kind of proxy betweens clients and qemu) 
> 
> Maybe more complex, but t could be great to be able to catch any events, 
> and use them in QemuServer.pm for example. 
> 
> 

yes you are right, my idea was to have a second qmp socket just 
for those events, and of course we could extend it to also 
react to other events (i have no idea what might be interesting 
besides the shutdown event) 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




More information about the pve-devel mailing list