QEMUMachine: add events_wait method
commitc7b4a7354157a00a31d332401b56fee14cbb2bf2
authorJohn Snow <jsnow@redhat.com>
Thu, 23 May 2019 17:06:41 +0000 (23 13:06 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Sep 2019 19:58:36 +0000 (17 14:58 -0500)
tree0b2b6c94e9c3f40f8bb8b2b949e0cce07dac22c1
parent94a14e6f2a6d67540e3ccac6399c2be3adeda5bc
QEMUMachine: add events_wait method

Instead of event_wait which looks for a single event, add an events_wait
which can look for any number of events simultaneously. However, it
will still only return one at a time, whichever happens first.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20190523170643.20794-4-jsnow@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit f6f4b3f045ea18e3fa93a50cd0462236c428d62e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
python/qemu/__init__.py