Page MenuHomeFreeBSD

bhyve/pci_emul.c: Introduce notion of fixed and hotpluggable slots
Needs ReviewPublic

Authored by bnovkov on Sun, Jan 11, 1:32 PM.
Tags
None
Referenced Files
F141896708: D54642.id169462.diff
Mon, Jan 12, 4:16 AM
F141890954: D54642.diff
Mon, Jan 12, 2:02 AM
F141878322: D54642.id.diff
Sun, Jan 11, 9:40 PM
F141874475: D54642.diff
Sun, Jan 11, 8:10 PM
Subscribers

Details

Reviewers
None
Group Reviewers
bhyve
Summary

A virtual PCI slot is considered empty if no devices were attached to
it using the -s commandline flag. Such slots are eligible for runtime
emulated device hotplugging. Conversely, virtual slots with preconfigured
devices are treated as 'fixed' and are left alone for the remainder
of the virtual machine's lifecycle.

This is a prerequisite for emulated PCI device hotplugging as it
allows us to choose appropriate virtual PCI slots when hotplugging
an emulated PCI device.

Diff Detail

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