Page MenuHomeFreeBSD

D20529.diff
No OneTemporary

D20529.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
Mon, Mar 23, 7:59 AM (16 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30173307
Default Alt Text
D20529.diff (547 B)

Event Timeline