From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3LTB-0008Ki-UV for qemu-devel@nongnu.org; Tue, 13 Sep 2011 01:23:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3LTA-0003XJ-Po for qemu-devel@nongnu.org; Tue, 13 Sep 2011 01:23:41 -0400 Received: from mail-yi0-f45.google.com ([209.85.218.45]:64634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3LTA-0003XE-I7 for qemu-devel@nongnu.org; Tue, 13 Sep 2011 01:23:40 -0400 Received: by yib2 with SMTP id 2so181459yib.4 for ; Mon, 12 Sep 2011 22:23:40 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20110909180003.GA30386@stefanha-thinkpad.localdomain> <20110912105426.GA5850@stefanha-thinkpad.localdomain> Date: Tue, 13 Sep 2011 06:23:39 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] unable to access the serial port on the Vm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: bala suru Cc: qemu-devel@nongnu.org On Tue, Sep 13, 2011 at 5:59 AM, bala suru wrote: > Yes, I'm connecting a USB to serial device to the host (ubuntu 11.04) and= I > want that serial port on my VM . > I tried the solution you have suggested but still same problem , can=A0 n= ot > see the virtual serial port (ttyACM0) on VM but I could see on the HOST . > > The following is the line=A0 I have tried . > =A0RAW =3D [ type =3D "kvm", > =A0=A0=A0=A0=A0=A0=A0=A0=A0 data =3D " path=3D\"/dev/ttyACM0\"/> tty=3D\"/dev/pts/5\"> port=3D\"0\"/>" ] Inside the guest you will see a regular serial port (/dev/ttyS0). The guest does not know that you're using /dev/ttyACM0 on the host, but that should not matter. Stefan