]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: 319690
authordexuan <dexuan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 Jun 2017 13:23:40 +0000 (13:23 +0000)
committerdexuan <dexuan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 Jun 2017 13:23:40 +0000 (13:23 +0000)
commita3f1e5e331f689a5061cb7bacfad456481050c38
treef6df7a81684b505beeb0feabae9871e830bb841b
parent1232b03847e3165e5f4a2cb199ca73b0c618a5cb
MFC: 319690

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

git-svn-id: svn://svn.freebsd.org/base/stable/10@319941 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hyperv/pcib/vmbus_pcib.c