All of lore.kernel.org
 help / color / mirror / Atom feed
From: bala suru <balaqemu@gmail.com>
To: Stefan Hajnoczi <stefanha@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] unable to access the serial port on the Vm
Date: Mon, 12 Sep 2011 17:05:56 +0530	[thread overview]
Message-ID: <CAOYyr-vw527tawO+z5AM8X8cKjJ2sJGLn+Y0zXwAXgJ1kaktxg@mail.gmail.com> (raw)
In-Reply-To: <20110912105426.GA5850@stefanha-thinkpad.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]

Hi,
Thanks for the help , Now I could do cat /dev/ttyS0  , no error . it runs
well .

But I need to connect a some USB device which will create a virtual
serialport called /dev/ttyACM0, I cloud not see this on the Vm running ..

This XML format I used
RAW = [ type = "kvm",
          data = "<devices><serial type=\"pty\"><source
path=\"/dev/pts/5\"/><target port=\"0\"/></serial><console type=\"pty\"
tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target
port=\"0\"/></console></devices>" ]


Have I missed out anything ..?

regards
Bala

On Mon, Sep 12, 2011 at 4:24 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:

> On Mon, Sep 12, 2011 at 03:49:53PM +0530, bala suru wrote:
> > Can I do this on the running VMs ..?,
> > I'm using opennebula to spawn the VMs, so it would be good if edit before
> > spawning the VMs..
>
> I don't think you can do this on a running VM.
>
> At the bottom of this page they show how you can add the serial port
> libvirt domain XML in OpenNebula:
> http://opennebula.org/documentation:rel2.2:kvmg
>
> Stefan
>

[-- Attachment #2: Type: text/html, Size: 1703 bytes --]

  reply	other threads:[~2011-09-12 11:36 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 [this message]
2011-09-12 18:21                   ` Stefan Hajnoczi
2011-09-13  4:59                     ` bala suru
2011-09-13  5:23                       ` Stefan Hajnoczi
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=CAOYyr-vw527tawO+z5AM8X8cKjJ2sJGLn+Y0zXwAXgJ1kaktxg@mail.gmail.com \
    --to=balaqemu@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.