Page MenuHomeFreeBSD

D32802.diff
No OneTemporary

D32802.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
@@ -1885,6 +1885,11 @@
if (feat->set)
feat->set(sc, feat, command, compl);
+ else {
+ pci_nvme_status_tc(&compl->status, NVME_SCT_COMMAND_SPECIFIC,
+ NVME_SC_FEATURE_NOT_CHANGEABLE);
+ return (1);
+ }
DPRINTF("%s: status=%#x cdw11=%#x", __func__, compl->status, command->cdw11);
if (compl->status == NVME_SC_SUCCESS) {

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 6:27 AM (21 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14671739
Default Alt Text
D32802.diff (471 B)

Event Timeline