Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157072048
D32658.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D32658.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
@@ -698,6 +698,11 @@
sc->health_log.temperature = NVME_TEMPERATURE;
sc->health_log.available_spare = 100;
sc->health_log.available_spare_threshold = 10;
+
+ /* Set Active Firmware Info to slot 1 */
+ sc->fw_log.afi = (1 << NVME_FIRMWARE_PAGE_AFI_SLOT_SHIFT);
+ memcpy(&sc->fw_log.revision[0], sc->ctrldata.fr,
+ sizeof(sc->fw_log.revision[0]));
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 6:55 AM (19 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33298224
Default Alt Text
D32658.diff (505 B)
Attached To
Mode
D32658: bhyve: initial Active Firmware Info for NVMe controller
Attached
Detach File
Event Timeline
Log In to Comment