diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-05-25 19:48:00 +0100 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-06-01 11:43:18 -0300 |
commit | 91b8eddf41fd62ecbc61cb901c40f50287126fac (patch) | |
tree | f70d142b82ef8e0d507671a7784fa4dd226bd2aa /cmd.c | |
parent | e9b4b432e781863869b074d46966bfa0bd672b8f (diff) |
QMP: add get_events(wait=True) option
The get_events() function polls for new QMP events and then returns. It
can be useful to wait for the next QMP event so add the boolean 'wait'
keyword argument.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'cmd.c')
0 files changed, 0 insertions, 0 deletions