qemu_monitor: Document qemuMonitorUnregister()

The most important bit is that the caller is expected to pass
locked monitor.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Michal Privoznik 2021-02-24 13:55:33 +01:00
parent c8f3b83c72
commit 6458b9d94a

View File

@ -850,6 +850,13 @@ qemuMonitorRegister(qemuMonitorPtr mon)
}
/**
* qemuMonitorUnregister:
* @mon: monitor object
*
* Unregister monitor from the event loop. The monitor object
* must be locked before calling this function.
*/
void
qemuMonitorUnregister(qemuMonitorPtr mon)
{