[pve-devel] [PATCH] add hugepages option v5

Alexandre DERUMIER aderumier at odiso.com
Wed Jun 8 06:00:16 CEST 2016


>>We really need a stop hook... but the question there is *how*... 
>>(Even if we added a hook to kvm, it would be nice to have something for 
>>the case where it gets SIGKILLed).

For clean qemu stop (or shutdown in guest), we could use qmp-events
https://projects.honeynet.org/svn/sebek/virtualization/qebek/trunk/QMP/qmp-events.txt

But this need some kind of daemon/proxy which is always connected to qmp sockets (we can have only 1 connection by qmp socket),
which can catch async events messages
and then send qmp commands through this proxy.
 
>>One possibility would be adding an inotify handler onto the qemu.slice 
>>to pvestatd... 

Seem to be more easy to implement (and should work with SIGKILLed)

>>I've also looked quickly over the systemd dbus API but 
>>there was no obvious stop signal one could listen to... 

same here :(



More information about the pve-devel mailing list