提交 2baa1beb 编写于 作者: P Paolo Bonzini

virtio-scsi: do not report dropped events after reset

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 64f64855
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册