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)
Tue, Aug 18, 10:25 AM
Unknown Object (File)
Fri, Aug 14, 4:00 PM
Unknown Object (File)
Fri, Aug 14, 11:46 AM
Unknown Object (File)
Wed, Aug 12, 4:20 PM
Unknown Object (File)
Sat, Aug 8, 1:54 PM
Unknown Object (File)
Wed, Aug 5, 8:45 PM
Unknown Object (File)
Wed, Aug 5, 11:01 AM
Unknown Object (File)
Tue, Aug 4, 11:22 PM

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