[one-users] VM hooks and determing which state VM is recovering

Simon Boulet simon at nostalgeek.com
Fri Apr 19 08:28:12 PDT 2013


I am using  various VM_HOOK to do certain action when VM states changes. I
am trying to have a hook to know when a VM recovers from UNKNOWN to RUNNING
state. I have set up a "on RUNNING" hook, however I can't seem to determine
which state the VM is recovering from, ex. is the VM recovering from
UNKNOWN or ATTACHNIC state, etc.

Any ideas how I can do this?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130419/717c0e65/attachment.htm>

More information about the Users mailing list