Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102882725
D36193.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
676 B
Referenced Files
None
Subscribers
None
D36193.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
@@ -1569,6 +1569,15 @@
((uint8_t *)dest)[1] = sizeof(uint64_t);
bcopy(sc->nsdata.eui64, ((uint8_t *)dest) + 4, sizeof(uint64_t));
break;
+ case 0x13:
+ /*
+ * Controller list is optional but used by UNH tests. Return
+ * a valid but empty list.
+ */
+ dest = vm_map_gpa(sc->nsc_pi->pi_vmctx, command->prp1,
+ sizeof(uint16_t) * 2048);
+ memset(dest, 0, sizeof(uint16_t) * 2048);
+ break;
default:
DPRINTF("%s unsupported identify command requested 0x%x",
__func__, command->cdw10 & 0xFF);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 9:12 AM (19 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14713949
Default Alt Text
D36193.diff (676 B)
Attached To
Mode
D36193: bhyve nvme: Support minimal Controller list
Attached
Detach File
Event Timeline
Log In to Comment