On 02/08/19 15:16, Markus Armbruster wrote: > * VMChangeStateEntry and the three functions using it, obviously, along > with VMChangeStateHandler. > > * vm_state_notify(), because it belongs to the above. > > * The runstate_FOO() functions, because they're named like the new > header? > > * vm_stop(), vm_stop_force_state(), vmstop_requested(), > vmstop_requested, because they use RunState? > > * The remaining vm_FOO(), because they're closely related to vm_stop()? > > * Everything else from qemu_exit_preconfig_request() to > qemu_remove_exit_notifier(), along with WakeupReason?
Yes, that could be an idea, but not qemu_add/remove_exit_notifier. Paolo