]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-scsi: Prevent assertion on missed events
authorEric Farman <farman@linux.vnet.ibm.com>
Tue, 14 Jan 2014 19:16:26 +0000 (14:16 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 21 Feb 2014 06:34:40 +0000 (00:34 -0600)
commita5221ee1430928ac013f9723134dacb62359247e
tree3cb13a694087b2ac9b6b399ca83aa36817cd3fa9
parent30a0fc36075aee75db639db9b9bc70dc682656d7
virtio-scsi: Prevent assertion on missed events

In some cases, an unplug can cause events to be dropped, which
leads to an assertion failure when preparing to notify the guest
kernel.

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 49fb65c7f985baa56d2964e0a85c1f098e3e2a9d)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/scsi/virtio-scsi.c