Centos command halt

Hi,

if I understand you correct you would like to install a VM_HOOK that is executed everytime you halt the VM from the inside.

Maybe you can use a VM_HOOK like the one presented in the following thread:

it most likely does not met all your needs but maybe it is a good starting point.

Hope this helps

Bernhard J. M. Grün