Page MenuHomeFreeBSD

bhyve/pci_emul.c: Add handlers for ACPI PCI hotplug metadata
AcceptedPublic

Authored by bnovkov on Jan 11 2026, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 29, 4:15 AM
Unknown Object (File)
Sun, Jun 28, 11:16 PM
Unknown Object (File)
Thu, Jun 4, 1:43 PM
Unknown Object (File)
Thu, Jun 4, 12:23 PM
Unknown Object (File)
Thu, Jun 4, 12:22 PM
Unknown Object (File)
Jun 2 2026, 3:28 PM
Unknown Object (File)
May 14 2026, 7:50 AM
Unknown Object (File)
May 14 2026, 7:49 AM

Details

Reviewers
markj
Group Reviewers
bhyve
Summary

This change adds memory access handlers for the per-bus ACPI
PCI hotplugging metadata.

This is a prerequisite for PCI device hotplugging since it allows
the guest to interact with the per-bus hotplug metadata.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69795
Build 66678: arc lint + arc unit

Event Timeline

markj added inline comments.
usr.sbin/bhyve/pci_emul.c
3146

You don't want to acquire hp_lock around this read?

bnovkov marked an inline comment as done.

Address @markj 's comments.

usr.sbin/bhyve/pci_emul.c
3146

ah, thanks for catching this, fixed.

This revision is now accepted and ready to land.Feb 6 2026, 3:35 PM