diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-01-20 10:37:59 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-20 08:25:23 -0600 |
commit | 23fabed13645fdf66473e458f318baa63be56b22 (patch) | |
tree | 83d89284c7e4472121a9c7f292e61fe04de643fd /block.c | |
parent | dc0d4efc02188ad9e5785adaba874bfd198eee76 (diff) |
QMP: Fix asynchronous events delivery
Commit f039a563f200beee80cc10fd70b21ea396979dab introduces
a regression as monitor_protocol_event() will return in
the first user Monitor it finds in the QLIST_FOREACH()
loop.
The right thing to do is to only delivery an asynchronous
event if the 'mon' is a QMP Monitor.
The aforementioned commit was an early version, if it was
applied to stable (it should) this one has to be applied
there too.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions