virtio_scsi: actually write the cdb size
instead of the sense size. Should help with #14133.
This commit is contained in:
parent
645dc27d9d
commit
edf7f4cd5f
@ -72,7 +72,7 @@ VirtioSCSIController::VirtioSCSIController(device_node *node)
|
||||
offsetof(struct virtio_scsi_config, sense_size), &fConfig.sense_size,
|
||||
sizeof(fConfig.sense_size));
|
||||
fVirtio->write_device_config(fVirtioDevice,
|
||||
offsetof(struct virtio_scsi_config, cdb_size), &fConfig.sense_size,
|
||||
offsetof(struct virtio_scsi_config, cdb_size), &fConfig.cdb_size,
|
||||
sizeof(fConfig.cdb_size));
|
||||
|
||||
fRequest = new(std::nothrow) VirtioSCSIRequest(true);
|
||||
|
Loading…
Reference in New Issue
Block a user