Fam Zheng 4864512389 qmp: Check for returned data from __json_read in get_events
When QEMU process aborts and socket is closed, qmp client will not
detect it. When this happens, some qemu-iotests scripts will enter an
endless loop waiting for qmp events.

It's better we raise an exception in qmp.py to catch this and make the
test script stop.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-02-28 13:35:53 -05:00
..
2013-09-09 14:17:56 -05:00
2014-02-20 13:14:18 +01:00
2012-03-30 08:14:11 -05:00
2012-07-17 15:43:16 -05:00
2012-03-24 12:57:02 +00:00
2012-03-30 08:14:11 -05:00
2012-04-16 15:41:20 +02:00
2012-08-15 15:18:54 +01:00
2014-02-15 16:10:25 +04:00
2012-03-24 14:10:25 +00:00
2013-06-14 15:33:10 +01:00