summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2026-06-24 17:40:01 +0200
committerMichael S. Tsirkin <mst@redhat.com>2026-08-03 23:08:17 -0400
commit46d447d703a8ce3f46352c71c7b281c99e416bc3 (patch)
tree7e0099b14c8b6e68d54a9d874f6ae7ce88245888 /scripts/Makefile.thinlto
parentbb72524bca3a2aa2a422413b5c1c9b4cda0c843a (diff)
downloadlinux-next-46d447d703a8ce3f46352c71c7b281c99e416bc3.tar.gz
linux-next-46d447d703a8ce3f46352c71c7b281c99e416bc3.zip
virtio_balloon: warn on failed buffer add in stats_handle_request()
Like tell_host(), stats_handle_request() ignores the return value of virtqueue_add_outbuf() and kicks the queue regardless. The same "we should always be able to add one buffer to an empty queue" assumption does not hold once the virtqueue has been broken (e.g. on device shutdown), where the add fails with -EIO. Unlike tell_host() it does not wait_event() afterwards so it cannot hang, but it still kicks a queue with nothing queued. Warn and bail out on failure, mirroring tell_host() and virtballoon_free_page_report(). Suggested-by: David Hildenbrand <david@kernel.org> Signed-off-by: Denis V. Lunev <den@openvz.org> Reviewed-by: David Hildenbrand (Arm) <david@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20260624154001.2733242-1-den@openvz.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions