Re: domain xml questions

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

 



On Thu, Jul 18, 2019 at 10:39:09AM +0300, Vasiliy Tolstov wrote:
> Hi!
> If i want to use bridged network or openvswitch, does guestfwd only
> works with slirp network? Or how it work in case of using
> bridge/openvswitch?

It is only supported with type=user (aka slirp) networking.

> <devices>
>   <channel type='unix'>
>     <source mode='bind' path='/tmp/guestfwd'/>
>     <target type='guestfwd' address='10.0.2.1' port='4600'/>
>   </channel>
> </devices>
> 
> If this cant't work with provided network types, how can i create
> inside guest serial console on 10 tty that binded to listening unix
> domain socket on host system?

For general purpose data channels we'd recommend using virtio-console

https://libvirt.org/formatdomain.html#elementCharChannel

eg this example shows how QEMU guest agent is configured. Just change
the target name to something for your app

  <channel type='unix'>
    <source mode='bind' path='/var/lib/libvirt/qemu/f16x86_64.agent'/>
    <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  </channel>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

_______________________________________________
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