On Mon, Sep 12, 2011 at 12:35 PM, bala suru <balaq...@gmail.com> wrote:
> 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>" ]

I am not sure what you are trying to do.

Are you attaching a USB serial device to the host and you would like
to connect that to the VM's serial port?  In that case you can try
this domain XML:

<serial type="dev">
    <source path="/dev/ttyACM0" />
    <target port="0" />
</serial>

Stefan

Reply via email to