From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934579AbdBQRxa (ORCPT ); Fri, 17 Feb 2017 12:53:30 -0500 Received: from mail-pf0-f178.google.com ([209.85.192.178]:35269 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934149AbdBQRx2 (ORCPT ); Fri, 17 Feb 2017 12:53:28 -0500 Date: Fri, 17 Feb 2017 09:47:03 -0800 From: Stephen Hemminger To: Haiyang Zhang Cc: "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , "olaf@aepfle.de" , Stephen Hemminger , "driverdev-devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] pci-hyperv: Use device serial number as PCI domain Message-ID: <20170217094703.1af2e8bd@plumbers-lap.home.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 Feb 2017 18:10:11 +0000 Haiyang Zhang 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 > Reviewed-by: K. Y. Srinivasan Looks like a good solution to persistent names. Signed-off-by: Stephen Hemminger