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
F172686314: D54646.diff
Sun, Sep 20, 5:36 AM
Unknown Object (File)
Fri, Sep 18, 6:16 AM
Unknown Object (File)
Thu, Sep 17, 3:55 AM
Unknown Object (File)
Fri, Sep 11, 2:56 PM
Unknown Object (File)
Tue, Sep 8, 11:42 AM
Unknown Object (File)
Sun, Sep 6, 3:59 PM
Unknown Object (File)
Sat, Sep 5, 3:44 PM
Unknown Object (File)
Fri, Sep 4, 9:16 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