aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2018-06-20 15:32:18 +0800
committerMarkus Armbruster <armbru@redhat.com>2018-06-30 17:50:48 +0200
commit40687eb741a974c47326ef3cf7f6b25cc0680552 (patch)
tree87fa7cb798408ea6dcb67bc7fb13c218410739fd /hw/s390x
parentd88610111b40bca19925ece0fa81710d425725a8 (diff)
downloadqemu-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')
0 files changed, 0 insertions, 0 deletions