]> git.proxmox.com Git - mirror_qemu.git/commit
virtio: use ->handle_output() instead of ->handle_aio_output()
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 7 Dec 2021 13:23:35 +0000 (13:23 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 12 Jan 2022 17:09:39 +0000 (17:09 +0000)
commitd6fbfe2b83ca466e7618f1b6fef1544544ff2e43
treec15e12b187c7d47f89d31b8d8aff503cc771fc80
parentf34e8d8b8d48d73f36a67b6d5e492ef9784b5012
virtio: use ->handle_output() instead of ->handle_aio_output()

The difference between ->handle_output() and ->handle_aio_output() was
that ->handle_aio_output() returned a bool return value indicating
progress. This was needed by the old polling API but now that the bool
return value is gone, the two functions can be unified.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20211207132336.36627-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/virtio/virtio.c