diff options
author | Peter Xu <peterx@redhat.com> | 2018-06-20 15:32:18 +0800 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-06-30 17:50:48 +0200 |
commit | 40687eb741a974c47326ef3cf7f6b25cc0680552 (patch) | |
tree | 87fa7cb798408ea6dcb67bc7fb13c218410739fd /hw/s390x/s390-pci-inst.c | |
parent | d88610111b40bca19925ece0fa81710d425725a8 (diff) | |
download | qemu-40687eb741a974c47326ef3cf7f6b25cc0680552.zip qemu-40687eb741a974c47326ef3cf7f6b25cc0680552.tar.gz qemu-40687eb741a974c47326ef3cf7f6b25cc0680552.tar.bz2 |
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 'hw/s390x/s390-pci-inst.c')
0 files changed, 0 insertions, 0 deletions