mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
With virtqueue iterator errors now killing the worker and spawn_virtio_thread marking NEEDS_RESET centrally, the per handler needs_reset() gate on process_queue_submit and process_queue_complete is unreachable. Drop needs_reset(), the two early returns, the unused device_status field on BlockEpollHandler and its initializer, and the device_needs_reset import. No functional change. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>