/* Context: QEMU global mutex held */ void virtio_blk_data_plane_destroy(VirtIOBlockDataPlane *s) { if (!s) { return; } virtio_blk_data_plane_stop(s); data_plane_remove_op_blockers(s); notifier_remove(&s->insert_notifier); notifier_remove(&s->remove_notifier); qemu_bh_delete(s->bh); object_unref(OBJECT(s->iothread)); g_free(s); }
void qemu_thread_atexit_remove(Notifier *notifier) { union NotifierThreadData ntd; ntd.ptr = pthread_getspecific(exit_key); notifier_remove(notifier); pthread_setspecific(exit_key, ntd.ptr); }
void qemu_unregister_clock_reset_notifier(QEMUClock *clock, Notifier *notifier) { notifier_remove(notifier); }
void remove_migration_state_change_notifier(Notifier *notify) { notifier_remove(notify); }
void main_loop_poll_remove_notifier(Notifier *notify) { notifier_remove(notify); }
void qemu_thread_atexit_remove(Notifier *notifier) { notifier_remove(notifier); }