From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Shah Subject: Re: [PATCH] virtio_console: Use virtio device index to generate port name Date: Fri, 25 Jan 2013 14:50:08 +0530 Message-ID: <20130125092008.GC30483@amit.redhat.com> References: <1358425397-4584-1-git-send-email-sjur.brandeland@stericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1358425397-4584-1-git-send-email-sjur.brandeland@stericsson.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: sjur.brandeland@stericsson.com Cc: virtualization@lists.linux-foundation.org, "Michael S. Tsirkin" List-Id: virtualization@lists.linuxfoundation.org On (Thu) 17 Jan 2013 [13:23:17], sjur.brandeland@stericsson.com wrote: > From: Sjur Br=E6ndeland > = > Use virtio device index for creating unique device port names. > Current index allocation in virtio is based on a monotonically > increasing variable "index". A better handling of this is to > use device index which is allocated by ida. This should be fine. I'm wondering, though, if there's something else you need from the naming scheme (esp. considering the next patch)? Amit