From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3MT8-0006ZT-Ak for qemu-devel@nongnu.org; Tue, 13 Sep 2011 02:27:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3MT7-0006Ob-6Z for qemu-devel@nongnu.org; Tue, 13 Sep 2011 02:27:42 -0400 Received: from mail-pz0-f42.google.com ([209.85.210.42]:62731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3MT7-0006OV-0C for qemu-devel@nongnu.org; Tue, 13 Sep 2011 02:27:41 -0400 Received: by pzk37 with SMTP id 37so460633pzk.29 for ; Mon, 12 Sep 2011 23:27: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 11:57:39 +0530 Message-ID: From: bala suru Content-Type: multipart/alternative; boundary=bcaec521568587765b04acccbd33 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: Stefan Hajnoczi , qemu-devel@nongnu.org --bcaec521568587765b04acccbd33 Content-Type: text/plain; charset=ISO-8859-1 Hi, Thanks a lot , it resolved my problem .. I could get the data inside VM . regards Bala On Tue, Sep 13, 2011 at 10:53 AM, Stefan Hajnoczi wrote: > 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 not > > see the virtual serial port (ttyACM0) on VM but I could see on the HOST . > > > > The following is the line I have tried . > > RAW = [ type = "kvm", > > data = " > path=\"/dev/ttyACM0\"/> > tty=\"/dev/pts/5\"> > port=\"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 > --bcaec521568587765b04acccbd33 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
Thanks a lot , it resolved my problem .. I could get the data inside V= M=A0.
=A0
regards
Bala

On Tue, Sep 13, 2011 at 10:53 AM, Stefan Hajnocz= i <stefanha@gmai= l.com> wrote:
On Tue, Sep 13, 2011 at 5:59 AM, bala suru <balaqemu@gmail.com> wrote:
> Yes, = I'm connecting a USB to serial device to the host (ubuntu 11.04) and I<= br> > want that serial port on my VM .
> I tried the solution you have= suggested but still same problem , can=A0 not
> see the virtual seri= al port (ttyACM0) on VM but I could see on the HOST .
>
> The f= ollowing is the line=A0 I have tried .
> =A0RAW =3D [ type =3D "kvm",
> =A0=A0=A0=A0=A0=A0=A0= =A0=A0 data =3D "<devices><serial type=3D\"dev\">= ;<source
> path=3D\"/dev/ttyACM0\"/><target port= =3D\"0\"/></serial><console type=3D\"pty\"<= br> > tty=3D\"/dev/pts/5\"><source path=3D\"/dev/pts/5\= "/><target
> port=3D\"0\"/></console>&l= t;/devices>" ]

Inside the guest you will see a regular= serial port (/dev/ttyS0). =A0The
guest does not know that you're using /dev/ttyACM0 on the host, but
= that should not matter.

Stefan

--bcaec521568587765b04acccbd33--