]> git.proxmox.com Git - mirror_qemu.git/commit
virtio: drop unused virtio_device_stop_ioeventfd() function
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 21 Oct 2019 15:03:43 +0000 (16:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 25 Oct 2019 11:46:22 +0000 (07:46 -0400)
commit909c548c539b4136e3abf2377980dad6274c4c2e
treea0b55a696130fb13a1e531e1f6a71929f358f650
parentd08f68b8e858fc761e88ae66349b6eab1235e3fe
virtio: drop unused virtio_device_stop_ioeventfd() function

virtio_device_stop_ioeventfd() has not been used since commit
310837de6c1e0badfd736b1b316b1698c53120a7 ("virtio: introduce
grab/release_ioeventfd to fix vhost") in 2016.

Nowadays ioeventfd is stopped implicitly by the virtio transport when
lifecycle events such as the VM pausing or device unplug occur.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20191021150343.30742-1-stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio.c
include/hw/virtio/virtio.h