Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169986980
D33578.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
598 B
Referenced Files
None
Subscribers
None
D33578.id.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
@@ -1482,6 +1482,12 @@
switch (command->cdw10 & 0xFF) {
case 0x00: /* return Identify Namespace data structure */
+ /* Global NS only valid with NS Management */
+ if (command->nsid == NVME_GLOBAL_NAMESPACE_TAG) {
+ pci_nvme_status_genc(&status,
+ NVME_SC_INVALID_NAMESPACE_OR_FORMAT);
+ break;
+ }
nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1,
command->prp2, (uint8_t *)&sc->nsdata, sizeof(sc->nsdata),
NVME_COPY_TO_PRP);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 4, 4:51 AM (3 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38081036
Default Alt Text
D33578.id.diff (598 B)
Attached To
Mode
D33578: bhyve nvme: Fix Identify Namespace, NSID=ffffffff
Attached
Detach File
Event Timeline
Log In to Comment