Add a comment for mon->watch to make clear what's the purpose of this value. Signed-off-by: Marc Hartmayer <mhartmay@xxxxxxxxxxxxxxxxxx> Reviewed-by: Bjoern Walk <bwalk@xxxxxxxxxxxxxxxxxx> --- src/qemu/qemu_monitor.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c index a2de1a6..5c29b37 100644 --- a/src/qemu/qemu_monitor.c +++ b/src/qemu/qemu_monitor.c @@ -61,6 +61,12 @@ struct _qemuMonitor { virCond notify; int fd; + + /* Represents the watch number to be used for updating and + * unregistering the monitor @fd for events in the event loop: + * > 0: valid watch number + * = 0: not registered + * < 0: an error occurred during the registration of @fd */ int watch; int hasSendFD; int willhangup; -- 2.5.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list