mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 19:09:35 +00:00
When vhost device stops, its implementation synchronizes kernel state
back to virtio.c so we can continue emulating the device
in userspace.
This patch ensures that virtio.c's signalled_used_valid flag is reset so
that userspace does not suppress guest notifications due to stale
signalled_used values.
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 3561ba1418
)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>