From: Paolo Bonzini Date: Mon, 16 Jul 2012 12:50:27 +0000 (+0200) Subject: virtio-scsi: do not report dropped events after reset X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2baa1beb1e47ec207e0f9bcacdb5c68e4bf1d8f5;p=qemu.git virtio-scsi: do not report dropped events after reset Signed-off-by: Paolo Bonzini --- diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c index d5c5984e08..bf18861e94 100644 --- a/hw/virtio-scsi.c +++ b/hw/virtio-scsi.c @@ -563,6 +563,7 @@ static void virtio_scsi_reset(VirtIODevice *vdev) s->sense_size = VIRTIO_SCSI_SENSE_SIZE; s->cdb_size = VIRTIO_SCSI_CDB_SIZE; + s->events_dropped = false; } /* The device does not have anything to save beyond the virtio data.