Page MenuHomeFreeBSD

D20529.id.diff
No OneTemporary

D20529.id.diff

Index: head/usr.sbin/bhyve/pci_virtio_scsi.c
===================================================================
--- head/usr.sbin/bhyve/pci_virtio_scsi.c
+++ head/usr.sbin/bhyve/pci_virtio_scsi.c
@@ -309,7 +309,8 @@
/* initialize config structure */
sc->vss_config = (struct pci_vtscsi_config){
.num_queues = VTSCSI_REQUESTQ,
- .seg_max = VTSCSI_MAXSEG,
+ /* Leave room for the request and the response. */
+ .seg_max = VTSCSI_MAXSEG - 2,
.max_sectors = 2,
.cmd_per_lun = 1,
.event_info_size = sizeof(struct pci_vtscsi_event),

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 24, 11:49 PM (4 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30281900
Default Alt Text
D20529.id.diff (547 B)

Event Timeline