commit | 91b8eddf41fd62ecbc61cb901c40f50287126fac | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Wed May 25 19:48:00 2011 +0100 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Wed Jun 01 11:43:18 2011 -0300 |
tree | f70d142b82ef8e0d507671a7784fa4dd226bd2aa | |
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>