[libvirt] [PATCH v3] Add support for Midonet virtual ports

John Ferlan jferlan at redhat.com
Mon Feb 23 23:40:30 UTC 2015



On 02/23/2015 03:54 PM, Antoni Segura Puimedon wrote:
> Up until now, to plug VMs into the Midonet virtual networks it was
> necessary to use the 'last resort' 'ethernet' type. That implied
> having the domain tainted and having to deal witht the tap lifecycle
> outside of libvirt/VM lifecycle.
> 
> With the patches I submit, a new virtualport type will be accepted by
> libvirt that will always require an interfaceid (as it is essential
> for binding a tap device to a virtual port that the virtual port
> itself exists and has a UUID). With that interfaceid, libvirt will
> delegate the binding on the Midonet userspace tools.
> 
> Antoni Segura Puimedon (1):
>   Add support for the midonet virtualport type
> 
>  configure.ac                         |  4 ++
>  docs/schemas/networkcommon.rng       | 12 +++++
>  src/Makefile.am                      |  1 +
>  src/conf/domain_conf.h               |  1 +
>  src/conf/netdev_vport_profile_conf.c |  3 +-
>  src/libvirt_private.syms             |  5 ++
>  src/qemu/qemu_hotplug.c              | 25 +++++++---
>  src/qemu/qemu_process.c              | 13 +++--
>  src/util/virnetdevmidonet.c          | 97 ++++++++++++++++++++++++++++++++++++
>  src/util/virnetdevmidonet.h          | 37 ++++++++++++++
>  src/util/virnetdevtap.c              | 11 ++--
>  src/util/virnetdevvportprofile.c     |  1 +
>  src/util/virnetdevvportprofile.h     |  5 +-
>  13 files changed, 197 insertions(+), 18 deletions(-)
>  create mode 100644 src/util/virnetdevmidonet.c
>  create mode 100644 src/util/virnetdevmidonet.h
> 


You really should resend this as a top level email rather than embedded
as a reply to what was a single patch inside which there already is a v2.

John




More information about the libvir-list mailing list