aboutsummaryrefslogtreecommitdiff
path: root/scripts/meson-buildoptions.py
diff options
context:
space:
mode:
authorJason Andryuk <jandryuk@gmail.com>2021-12-10 14:34:34 -0500
committerAnthony PERARD <anthony.perard@citrix.com>2022-01-27 15:14:11 +0000
commit9288e803e61e8d56d1c6c6aa8beb58596fb84ed9 (patch)
tree21f35b9a578c98257fa5cdef6fa4e815bf0d79dc /scripts/meson-buildoptions.py
parent48302d4eb628ff0bea4d7e92cbf6b726410eb4c3 (diff)
downloadqemu-9288e803e61e8d56d1c6c6aa8beb58596fb84ed9.zip
qemu-9288e803e61e8d56d1c6c6aa8beb58596fb84ed9.tar.gz
qemu-9288e803e61e8d56d1c6c6aa8beb58596fb84ed9.tar.bz2
xen-hvm: Allow disabling buffer_io_timer
commit f37f29d31488 "xen: slightly simplify bufioreq handling" hard coded setting req.count = 1 during initial field setup before the main loop. This missed a subtlety that an early exit from the loop when there are no ioreqs to process, would have req.count == 0 for the return value. handle_buffered_io() would then remove state->buffered_io_timer. Instead handle_buffered_iopage() is basically always returning true and handle_buffered_io() always re-setting the timer. Restore the disabling of the timer by introducing a new handled_ioreq boolean and use as the return value. The named variable will more clearly show the intent of the code. Signed-off-by: Jason Andryuk <jandryuk@gmail.com> Reviewed-by: Paul Durrant <paul@xen.org> Message-Id: <20211210193434.75566-1-jandryuk@gmail.com> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'scripts/meson-buildoptions.py')
0 files changed, 0 insertions, 0 deletions