Rework vm_state_change notifiers (Jan Kiszka)