Skip to content

Commit e6e99e1

Browse files
author
Erik Schilling
committed
scsi: Document necessary qemu config
We are currently hardcoding the queue number to 3 (2 control + 1 data). QEMU will attempt to pick its own values if we do not configure the number explicitly.
1 parent 1c1d93f commit e6e99e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/scsi/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Run QEMU:
1414

1515
```
1616
qemu-system-x86_64 ... \
17-
-device vhost-user-scsi-pci,chardev=vus \
17+
-device vhost-user-scsi-pci,num_queues=1,chardev=vus \
1818
-chardev socket,id=vus,path=/tmp/vhost-user-scsi.sock \
1919
# must match total guest meory
2020
-object memory-backend-memfd,id=mem,size=384M,share=on \

0 commit comments

Comments
 (0)