Re: [PATCH] pci-hyperv: Use device serial number as PCI domain

From: Stephen Hemminger
Date: Fri Feb 17 2017 - 12:53:38 EST

On Mon, 13 Feb 2017 18:10:11 +0000
Haiyang Zhang <haiyangz@xxxxxxxxxxxxx> wrote:

> This allows PCI domain numbers starts with 1, and also unique
> on the same VM. So names, such as VF NIC names, that include
> domain number as part of the name, can be shorter than that
> based on part of bus UUID previously. The new names will also
> stay same for VMs created with copied VHD and same number of
> devices.
> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> Reviewed-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>

Looks like a good solution to persistent names.

Signed-off-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>