Page MenuHomeFreeBSD

D36192.id.diff
No OneTemporary

D36192.id.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
Mon, Nov 18, 10:44 PM (6 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14705980
Default Alt Text
D36192.id.diff (527 B)

Event Timeline