qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: bala suru <balaqemu@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] unable to access the serial port on the Vm
Date: Tue, 13 Sep 2011 06:23:39 +0100	[thread overview]
Message-ID: <CAJSP0QW16UBpjwUptTJ7PmzUMy5LfyTfeFEmw6RA0jePLk+fxg@mail.gmail.com> (raw)
In-Reply-To: <CAOYyr-u+=sSojtEj909ksLWZeQk+7pox4T9F-_bKKBAjz79ikQ@mail.gmail.com>

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
> 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 = "<devices><serial type=\"dev\"><source
> path=\"/dev/ttyACM0\"/><target port=\"0\"/></serial><console type=\"pty\"
> tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target
> port=\"0\"/></console></devices>" ]

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

  reply	other threads:[~2011-09-13  5:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 17:12 [Qemu-devel] unable to access the serial port on the Vm bala suru
2011-09-09 18:00 ` Stefan Hajnoczi
     [not found]   ` <CAOYyr-sgbRtpBYsWUUwZufzniTxqV3nJkLQyR=RMOR53+4gDtA@mail.gmail.com>
2011-09-11 15:26     ` Stefan Hajnoczi
     [not found]       ` <CAOYyr-vK987n_=7uzKkacS5pyQE88CUZvNK9WpNVO+DRvVtZkA@mail.gmail.com>
     [not found]         ` <CAJSP0QVqagWuE3jF39bJBXp5LHZs+CKmQ-NpQ5QTiARH9FVcSQ@mail.gmail.com>
2011-09-12  9:26           ` Stefan Hajnoczi
2011-09-12 10:19             ` bala suru
2011-09-12 10:54               ` Stefan Hajnoczi
2011-09-12 11:35                 ` bala suru
2011-09-12 18:21                   ` Stefan Hajnoczi
2011-09-13  4:59                     ` bala suru
2011-09-13  5:23                       ` Stefan Hajnoczi [this message]
2011-09-13  6:27                         ` bala suru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJSP0QW16UBpjwUptTJ7PmzUMy5LfyTfeFEmw6RA0jePLk+fxg@mail.gmail.com \
    --to=stefanha@gmail.com \
    --cc=balaqemu@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).