Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110718499
D33565.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
D33565.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
@@ -1773,7 +1773,8 @@
pci_nvme_status_genc(&compl->status,
NVME_SC_INTERNAL_DEVICE_ERROR);
pci_nvme_release_ioreq(sc, req);
- }
+ } else
+ compl->status = NVME_NO_STATUS;
}
return (1);
@@ -1900,8 +1901,8 @@
if ((sc->ctrldata.oacs &
(1 << NVME_CTRLR_DATA_OACS_FORMAT_SHIFT)) == 0) {
pci_nvme_status_genc(&compl.status, NVME_SC_INVALID_OPCODE);
+ break;
}
- compl.status = NVME_NO_STATUS;
nvme_opc_format_nvm(sc, cmd, &compl);
break;
default:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 23, 7:15 AM (8 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16790195
Default Alt Text
D33565.diff (636 B)
Attached To
Mode
D33565: bhyve nvme: Fix NVM Format completion status
Attached
Detach File
Event Timeline
Log In to Comment