Re: virtio-serial port that listens tcp socket on host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 5, 2014 at 10:45 AM, Michal Privoznik <mprivozn@xxxxxxxxxx> wrote:
> On 26.08.2014 18:42, Vasiliy Tolstov wrote:
>>
>>
>> 2014-08-26 19:11 GMT+04:00 Andrey Korolyov <andrey@xxxxxxx
>> <mailto:andrey@xxxxxxx>>:
>>
>>     not, right now it is not possible. Why don`t you want to just assign
>>     unique paths for socket name, derived, say, from VM` UUID?
>>
>>
>> In case of unix domain sockets paths not problem, but i want to connect
>> to each qemu-ga address from central point. I don't want to use socat ,
>> as i see qemu have ability to specify host and port and in this case
>> qemu listens tcp port on this address. But in libvirt schema i can't
>> provide host and port.
>
>
> 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.
>
> Michal

Michal, I suspect that Vasily mentioned channel block where
virtio-serial setup belongs, not serial. For now, libvirt does not
allow to add TCP connection inside.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux