On Tue, Aug 25, 2015 at 01:20:41PM +0000, Jean-Pierre Ribeauville wrote: > Hi, > > In order to use a virtio-serial to exchange data between host and its guests, I'd like to modify the .xml Guest conf file by adding these parameters ( as found in the command line) : > > -device virtio-serial \ > -chardev socket,path=/tmp/foo,server,nowait,id=foo \ > -device virtserialport,chardev=foo,name=org.fedoraproject.port.0 > > How should I build the XML tags ? Take a read of this: http://libvirt.org/formatdomain.html#elementsConsole It should be approx <channel type="unix"> <source mode='bind' path='/tmp/foo'/> <target type='virtio' name='com.fedoraproject.port.0'/> </channel> Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users