]> git.proxmox.com Git - qemu.git/commit
vhost: clear signalled_used_valid on vhost stop
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 12 Aug 2013 09:21:36 +0000 (12:21 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 12 Aug 2013 09:25:17 +0000 (12:25 +0300)
commit3561ba14188b3c1e54246ed6db97896bbc082d2f
treeb919de94ea85f7f8f1b3a18a0043cb4d48bb26e4
parent6793dfd1b6a99a79b9f2e3c4d6625ccd6513f240
vhost: clear signalled_used_valid on vhost stop

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>
hw/virtio/vhost.c