From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEvpd-0005IM-E8 for qemu-devel@nongnu.org; Wed, 06 Aug 2014 03:40:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEvpX-0004my-44 for qemu-devel@nongnu.org; Wed, 06 Aug 2014 03:40:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEvpW-0004mq-T7 for qemu-devel@nongnu.org; Wed, 06 Aug 2014 03:40:15 -0400 Date: Wed, 6 Aug 2014 13:09:44 +0530 From: Amit Shah Message-ID: <20140806073944.GB25951@grmbl.mre> References: <8738dayt6f.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8738dayt6f.fsf@blackfin.pond.sub.org> Subject: Re: [Qemu-devel] [PATCH 0/2] virtio-serial: Prevent addition of ports with same name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Amos Kong , qemu list , Andreas =?iso-8859-1?Q?F=E4rber?= On (Wed) 06 Aug 2014 [09:27:04], Markus Armbruster wrote: > Amit Shah writes: > > > Hi, > > > > The 2nd patch prevents adding ports to the system with conflicts in > > the 'name' parameter. This is done by going through all the ports in > > the system, including ports on other virtio-serial devices. > > > > The first patch prepares for this by creating a linked list of all > > available virtio-serial devices, so they can be walked over to check > > their ports' names. > > > > Please review. > > No advice from Andreas on better ways to iterate over devices, yet > (vacation time?). If there is one, we can always use it on top. > > Reviewed-by: Markus Armbruster Thanks! I'll wait for a week before submitting a pull req. Amit