Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaSzb-0001XU-9a for qemu-devel@nongnu.org; Thu, 28 Jan 2010 06:56:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaSzV-0001Wb-9G for qemu-devel@nongnu.org; Thu, 28 Jan 2010 06:56:58 -0500 Received: from [199.232.76.173] (port=43436 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaSzV-0001WU-4f for qemu-devel@nongnu.org; Thu, 28 Jan 2010 06:56:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:22110) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaSzU-00006V-5r for qemu-devel@nongnu.org; Thu, 28 Jan 2010 06:56:52 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0SBuopD004090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Jan 2010 06:56:50 -0500 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH] virtio-serial-bus: Fix bus initialisation and allow for bus identification References: <1264609339-24353-1-git-send-email-amit.shah@redhat.com> Date: Thu, 28 Jan 2010 12:56:48 +0100 In-Reply-To: <1264609339-24353-1-git-send-email-amit.shah@redhat.com> (Amit Shah's message of "Wed, 27 Jan 2010 21:52:19 +0530") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: qemu-devel@nongnu.org Amit Shah writes: > This commit enables one to use multiple virtio-serial devices and to > assign ports to arbitrary devices like this: > > -device virtio-serial,id=foo -device virtio-serial,id=bar \ > -device virtserialport,bus=foo.0,name=foo \ > -device virtserialport,bus=bar.0,name=bar > > Signed-off-by: Amit Shah Yes, please. Without this, all virtio-serial devices name their bus the same, and you have to use something like bus=pci.0/foo/virtio-serial-bus to refer to one.