Page MenuHomeFreeBSD

bhyve/pci_emul.c: Emit ACPI methods for hotpluggable slots
AcceptedPublic

Authored by bnovkov on Jan 11 2026, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 10, 2:12 PM
Unknown Object (File)
Tue, Feb 3, 4:23 PM
Unknown Object (File)
Tue, Feb 3, 4:22 PM
Unknown Object (File)
Fri, Jan 23, 6:29 PM
Unknown Object (File)
Tue, Jan 20, 1:19 PM
Unknown Object (File)
Sat, Jan 17, 9:27 PM
Unknown Object (File)
Sat, Jan 17, 10:43 AM
Unknown Object (File)
Thu, Jan 15, 10:35 PM
Subscribers

Details

Reviewers
markj
Group Reviewers
bhyve
Summary

This change adds ACPI methods and metadata for PCI hotplugging.
Under this scheme, each virtual PCI bus now emits three DWORD-sized variables,
a mutex, a method for notifying the guest about hotplug events on the
bus (PCNT), and a method signalling a successful device detach to the
hypervisor (PCEJ). The three variables (PCUP, PCDW, and EACK)
are used to signal pending hotadd, hotremove, and completed
eject requests respectively. All hotplug events are injected into
the guest via a GPE interrupt

Diff Detail

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