[libvirt-users] virtio-serial port that listens tcp socket on host

Vasiliy Tolstov v.tolstov at selfip.ru
Fri Sep 5 11:46:47 UTC 2014


2014-09-05 10:45 GMT+04:00 Michal Privoznik <mprivozn at redhat.com>:
> From http://libvirt.org/formatdomain.html#elementsCharTCP
>
>  <devices>
>     <serial type="tcp">
>       <source mode="connect" host="0.0.0.0" service="2445"/>
>       <protocol type="raw"/>
>       <target port="1"/>
>     </serial>
>   </devices>
>
> (side note, I wonder why the heck we try to connect to 0.0.0.0:2445 in the
> example)
>
> I'd say substitute 0.0.0.0 with the IP address of your mgmt host. And use
> unique port number per domain, otherwise you'd have to pass XML with
> changed/unique port upon migration.


This is character device, but i need channel with virtio serial. But
serial also may be useful.... Thanks

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru




More information about the libvirt-users mailing list