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, Feb 23, 5:17 AM
Unknown Object (File)
Sat, Feb 21, 8:25 PM
Unknown Object (File)
Sat, Feb 21, 8:25 PM
Unknown Object (File)
Sat, Feb 21, 12:49 PM
Unknown Object (File)
Fri, Feb 20, 10:22 AM
Unknown Object (File)
Tue, Feb 10, 9:53 AM
Unknown Object (File)
Tue, Feb 3, 4:23 PM
Unknown Object (File)
Tue, Feb 3, 4: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.Fri, Feb 6, 3:35 PM