mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
e9538813ec
commit
7363b2266c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue