plug pre-created tap devices to libvirt guests

Daniel P. Berrangé berrange at redhat.com
Mon Apr 6 13:54:32 UTC 2020


On Mon, Apr 06, 2020 at 03:47:01PM +0200, Miguel Duarte de Mora Barroso wrote:
> Hi all,
> 
> I'm aware that it is possible to plug pre-created macvtap devices to
> libvirt guests - tracked in RFE [0].
> 
> My interpretation of the wording in [1] and [2] is that it is also
> possible to plug pre-created tap devices into libvirt guests - that
> would be a requirement to allow kubevirt to run with less capabilities
> in the pods that encapsulate the VMs.
> 
> I took a look at the libvirt code ([3] & [4]), and, from my limited
> understanding, I got the impression that plugging existing interfaces
> via `managed='no' ` is only possible for macvtap interfaces.
> 
> Would you be able to shed some light into this ? Is it possible on
> libvirt-5.6.0 to plug pre-created tap devices to libvirt guests ?
> 
> [0] - https://bugzilla.redhat.com/show_bug.cgi?id=1723367

This links to the following message, which illustrates how to use pre-create
tap and macvtap devices:

  https://www.redhat.com/archives/libvir-list/2019-August/msg01256.html

Laine: it would be useful to add something like this short guide to the
knowledge base docs 

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 :|




More information about the libvirt-users mailing list