(2.10) Workaround for monitor bug related to greeting msg
authorDimitris Aragiorgis <dimara@grnet.gr>
Sat, 25 Jan 2014 18:13:14 +0000 (20:13 +0200)
committerDimitris Aragiorgis <dimara@grnet.gr>
Thu, 27 Mar 2014 08:01:08 +0000 (10:01 +0200)
commitbd338faba2653a46b88b1e5bc659eef4914b03ed
tree3e22039832dde61d8af594787276f33f2e3aa230
parent070eec157eefc2f136baa801135247b3beffc038
(2.10) Workaround for monitor bug related to greeting msg

QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
until it get's released this is a quick and dirty workaround
that flushes the client's buffer after getting the first
greeting message.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
lib/hypervisor/hv_kvm.py