Received: from eggs.gnu.org ([208.118.235.92]:35504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ud2FQ-0004Ms-9H for qemu-devel@nongnu.org; Thu, 16 May 2013 13:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ud2FH-0000HR-Kf for qemu-devel@nongnu.org; Thu, 16 May 2013 13:45:48 -0400 Received: from indium.canonical.com ([91.189.90.7]:35758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ud2FH-0000H4-BW for qemu-devel@nongnu.org; Thu, 16 May 2013 13:45:39 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Ud2FG-0003ON-62 for ; Thu, 16 May 2013 17:45:38 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2C7832E8086 for ; Thu, 16 May 2013 17:45:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 16 May 2013 17:35:17 -0000 From: Rostislav Devyatov Sender: bounces@canonical.com References: <20130516173517.573.9514.malonedeb@soybean.canonical.com> Message-Id: <20130516173517.573.9514.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1180924] [NEW] fails to handle a usb serial port with a specific vendorid Reply-To: Bug 1180924 <1180924@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: If I run qemu-system-i386 with arguments -usb -usbdevice serial:vendorid=3D1221:pty (this is what the documentation says about how I shoud add a usb device whi= ch has a serial port interface and which has a specific vendor id, I used t= he documentation located here: http://qemu.weilnetz.de/qemu-doc.html ), it says = char device redirected to /dev/pts/ (label usbserial0) qemu-system-i386: -usbdevice serial:vendorid=3D1221:pty: Property '.vendori= d' not found Aborted and exits. Moreover, if I try to add such a device to a running machine by = typing usb_add serial:vendorid=3D1221:pty in the machine's control terminal= (to reach it, I press ctrl-alt-2), qemu also writes = char device redirected to /dev/pts/ (label usbserial0) Aborted to the terminal where I run it from and exits. To the quest OS this looks l= ike a power failure which causes all the programs inside the virtual machin= e to lose their unsaved data. I have tested this with qemu-1.5.0-rc2, actually, the issue occured in a si= milar way since 1.0.1, but did not occur in 0.11.1. The issue is reproducible always, even if I don't specify any hard disk in = the command line, i. e. $ qemu-system-i386 -usb -usbdevice serial:vendorid=3D1221:pty , so I believe it is guest OS -independent. ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1180924 Title: fails to handle a usb serial port with a specific vendorid Status in QEMU: New Bug description: If I run qemu-system-i386 with arguments -usb -usbdevice serial:vendorid=3D1221:pty (this is what the documentation says about how I shoud add a usb device w= hich has a serial port interface and which has a specific vendor id, I used= the documentation located here: http://qemu.weilnetz.de/qemu-doc.html ), it says = char device redirected to /dev/pts/ (label usbserial0) qemu-system-i386: -usbdevice serial:vendorid=3D1221:pty: Property '.vendo= rid' not found Aborted and exits. Moreover, if I try to add such a device to a running machine b= y typing usb_add serial:vendorid=3D1221:pty in the machine's control termin= al (to reach it, I press ctrl-alt-2), qemu also writes = char device redirected to /dev/pts/ (label usbserial0) Aborted to the terminal where I run it from and exits. To the quest OS this looks= like a power failure which causes all the programs inside the virtual mach= ine to lose their unsaved data. I have tested this with qemu-1.5.0-rc2, actually, the issue occured in a = similar way since 1.0.1, but did not occur in 0.11.1. The issue is reproducible always, even if I don't specify any hard disk i= n the command line, i. e. $ qemu-system-i386 -usb -usbdevice serial:vendorid=3D1221:pty , so I believe it is guest OS -independent. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1180924/+subscriptions