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 <stefa...@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
>

Reply via email to