Page MenuHomeFreeBSD

D36192.id109392.diff
No OneTemporary

D36192.id109392.diff

diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -560,6 +560,10 @@
cd->wctemp = 0x0157;
cd->cctemp = 0x0157;
+ /* SANICAP must not be 0 for Revision 1.4 and later NVMe Controllers */
+ cd->sanicap = (NVME_CTRLR_DATA_SANICAP_NODMMAS_NO <<
+ NVME_CTRLR_DATA_SANICAP_NODMMAS_SHIFT);
+
cd->sqes = (6 << NVME_CTRLR_DATA_SQES_MAX_SHIFT) |
(6 << NVME_CTRLR_DATA_SQES_MIN_SHIFT);
cd->cqes = (4 << NVME_CTRLR_DATA_CQES_MAX_SHIFT) |

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 1:14 PM (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14705980
Default Alt Text
D36192.id109392.diff (527 B)

Event Timeline