diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-07-16 14:50:27 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-07-27 08:25:27 +0200 |
commit | 2baa1beb1e47ec207e0f9bcacdb5c68e4bf1d8f5 (patch) | |
tree | b3a3e009122a5f7fb8d14e16ae7170e86404dd4e /hw | |
parent | 64f64855d0ec2c5979f6986d2f52e8861d58e208 (diff) |
virtio-scsi: do not report dropped events after reset
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/virtio-scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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. |