mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-10 06:18:09 +00:00
virtio-blk never sets used_all_avail when calling vq_endchains(), which may become problematic if VIRTIO_F_NOTIFY_ON_EMPTY is enabled. Provide vq_endchains() with that info to ensure the delivery of an interrupt when the avail ring is drained in the case of VIRTIO_F_NOTIFY_ON_EMPTY. Tracked-On: #2763 Signed-off-by: Peter Fang <peter.fang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>