mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Trigger the interrupts in the guest for the virtio device queues behind the vhost-user devices when resuming. This avoids a situation where interrupts from the backend get lost when they are dispatched from the backend when then guest is paused leading to the guest/backend effectively waiting for each other to move forward. This is more reproducible with longer durations between pause and resume as there is more opportunity for the backend to completely process it's queue and fire all the interrupts. It's perfectly safe and allowed by the virtio spec to generate these interrupts and the performance impact is negligible and is a safe way to ensure forward progress after a resume. See: #7850 Signed-off-by: Rob Bradford <rbradford@meta.com>