HomeFreeBSD

MFC: 319690

Description

MFC: 319690

Approved by: re (marius)

r319690
hyperv/pcib: use the device serial number as PCI domain

Currently the PCI domain is initialized with the instance GUID in
vmbus_pcib_attach(). It turns out the GUID can change across VM reboot,
while some users want a persistent value for PCI domain. The solution is
that we can change to use the device serial number, which starts with 1
and is unique within a VM.

Obtained from: Haiyang Zhang
Sponsored by: Microsoft

Details

Provenance
dexuanAuthored on
Parents
rS319942: Don't try to assign interrupts to a CPU on single-CPU systems.
Branches
Unknown
Tags
Unknown