summaryrefslogtreecommitdiff
path: root/include/qemu/notify.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-28notify: add NotiferWithReturn so notifier list can abortStefan Hajnoczi1-0/+29
notifier_list_notify() has no return value. This is fine when we just want to invoke side-effects. Sometimes it's useful for notifiers to produce a return value. This allows notifiers to "veto" an operation and will be used by the block layer before-write notifier. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-12-19misc: move include files to include/qemu/Paolo Bonzini1-0/+43
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>