[Spice-devel] Virtio serial port enabling with Qemu...

Alon Levy alevy at redhat.com
Tue Feb 14 00:35:24 PST 2012


On Mon, Feb 13, 2012 at 11:27:04AM -0800, Naga Mohan Pothula wrote:
>    Hi,
>    Currently, I'm using following params to enable virtio serial port.
>            -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent 
>            -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 
>    While studying about VDAgent in depth, I've noticed following params
>    at [1]http://spice-space.org/page/Whiteboard/AgentProtocol which are
>    somewhat different.
>            -device
>    virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5
>    -chardev spicevmc,name=vdagent,id=vdagent 
>            -device
>    virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spic
> e.0
>    May I know the exact differences between them?
>    Appreciated your help.
>    Thanks/Naga.

I guess the later have been produced by libvirt. The additional
arguments, like naming the bus and giving it an addr and max_ports, should
not matter. And virtio-serial-pci is the name of the device,
virtio-serial is an alias, so this doesn't matter either.

>     
> 
> References
> 
>    Visible links
>    1. http://spice-space.org/page/Whiteboard/AgentProtocol

> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list