qdev: add qdev_add_vm_change_state_handler()
Children sometimes depend on their parent's vm change state handler having completed. Add a vm change state handler API for devices that guarantees tree depth ordering. Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
Showing
hw/core/vm-change-state-handler.c
0 → 100644
想要评论请 注册 或 登录