qemu: add a comment for mon->watch

Add a comment for mon->watch to make clear what's the purpose of this
value.

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
This commit is contained in:
Marc Hartmayer 2017-06-07 10:46:40 +02:00 committed by John Ferlan
parent e9538813ec
commit 7363b2266c
1 changed files with 6 additions and 0 deletions

View File

@ -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;