Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102714928
D32802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
471 B
Referenced Files
None
Subscribers
None
D32802.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D32802: bhyve: return FEATURE_NOT_CHANGEABLE for unimplemented feature of NVMe controller
Attached
Detach File
Event Timeline
Log In to Comment