commit | 9eb80eadd498fae2ad9eecbb89646b0cc4929cac | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 18 16:49:29 2012 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Oct 24 10:26:22 2012 +0200 |
tree | ac36c81095422ecbbf9b6656c8cc9b12fd12b2bc | |
parent | b952b5589a36114e06201c0d2e82c293dbad2b1f [diff] |
qmp: add pull_event function This function is unlike get_events in that it makes it easy to process one event at a time. This is useful in the mirroring test cases, where we want to process just one event (BLOCK_JOB_ERROR) and leave the others to a helper function. Acked-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>