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
F156514810: D54646.id169466.diff
Thu, May 14, 7:50 AM
F156514781: D54646.id169466.diff
Thu, May 14, 7:49 AM
F156500784: D54646.id.diff
Thu, May 14, 4:24 AM
F156434285: D54646.id171267.diff
Wed, May 13, 4:41 PM
Unknown Object (File)
Mon, May 11, 3:07 PM
Unknown Object (File)
Mon, May 11, 3:06 PM
Unknown Object (File)
Mon, May 11, 3:06 PM
Unknown Object (File)
Mon, May 11, 5:09 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

Event Timeline

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

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
3138

ah, thanks for catching this, fixed.

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