vl: Introduce shutdown_notifiers
commit2dadd7538562b01ac50791c28fc1b95209dce68a
authorYuval Shaia <yuval.shaia@oracle.com>
Fri, 21 Dec 2018 14:40:33 +0000 (21 16:40 +0200)
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
Sat, 22 Dec 2018 09:09:56 +0000 (22 11:09 +0200)
tree8a90b8f5330d52fa8553c39bf9a7fe1966edd428
parent14c74f720738e17ff2569ba66c0d32a5f0f69a69
vl: Introduce shutdown_notifiers

Notifier will be used for signaling shutdown event to inform system is
shutdown. This will allow devices and other component to run some
cleanup code needed before VM is shutdown.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
include/sysemu/sysemu.h
vl.c