From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvNr4-0001L4-Pk for qemu-devel@nongnu.org; Wed, 16 Jan 2013 02:56:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvNr3-0001Be-KR for qemu-devel@nongnu.org; Wed, 16 Jan 2013 02:56:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvNr3-0001BZ-Co for qemu-devel@nongnu.org; Wed, 16 Jan 2013 02:56:13 -0500 Message-ID: <50F65D15.3030803@redhat.com> Date: Wed, 16 Jan 2013 08:56:05 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <50F6543F.4060502@linux.vnet.ibm.com> In-Reply-To: <50F6543F.4060502@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC] Add serial number to usbdevice when passthrough to VM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lei Li Cc: qemu-devel On 01/16/13 08:18, Lei Li wrote: > Hi guys, >=20 > Currently we can passthrough the host USB device to the virtual > machine. This is done like: >=20 > =96usbdevice host:1234:5678, where 1234 is vendor id, 5678 is product > id. >=20 > But there is a problem. If there are two identical USB devices, > where the vendor id and the product id is the same. It's not possible > to direct one USB device to VM1 and the second USB device to VM2. You can assign devices by physical port. See docs/usb2.txt cheers, Gerd