We have a hook that executes after the VM state moves to RUNNING. We wanted to have the hook executed only when VM is provisioned. However the hook gets executed even after live migration because it goes from MIGRATE to RUNNING state. <br>
<br>Is there a way to capture previous state so that we could find the previous state and skip execution of hook if the previous state is MIGRATE?<br>