virtio-scsi: do not report dropped events after reset
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
64f64855d0
commit
2baa1beb1e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user