diff options
| author | Peter Xu | 2018-06-20 09:32:18 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2018-06-30 17:50:48 +0200 |
| commit | 40687eb741a974c47326ef3cf7f6b25cc0680552 (patch) | |
| tree | 87fa7cb798408ea6dcb67bc7fb13c218410739fd /linux-user/linux_loop.h | |
| parent | chardev: comment details for CLOSED event (diff) | |
| download | qemu-40687eb741a974c47326ef3cf7f6b25cc0680552.tar.gz qemu-40687eb741a974c47326ef3cf7f6b25cc0680552.tar.xz qemu-40687eb741a974c47326ef3cf7f6b25cc0680552.zip | |
monitor: rename *_pop_one to *_pop_any
The old names are confusing since both of the old functions are popping
an item from multiple queues rather than a single queue. In that
sense, *_pop_any() suites better than *_pop_one().
Since at it, touch up the function monitor_qmp_response_pop_any() a bit
to let the callers pass in a QMPResponse struct instead of returning a
struct. Change the return value to boolean to mark whether we have
popped a valid response instead.
Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180620073223.31964-3-peterx@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
