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

[libvirt] [PATCH 0/5] Improve detach-device intelligence for net interfaces



Until now it was possible to device-detach network device by mac address only.
This patch improves libvirt user-friendliness so it is possible to detach
also via PCI address, and in case when there is exactly one network interface
even without specifying redundant addresses (MAC/PCI).

Michal Privoznik (5):
  conf: Change statically allocated MAC to dynamic
  DomainXMLFlags: Introduce flag allowing suppress of generation of
    additional items
  virDomainNetDefParseXML: suppress generation of MAC when    
    VIR_DOMAIN_PARSE_NO_GENERATE is set
  qemu: Allow network device-detach by PCI address and/or MAC
  xen: Allow network device-detach by PCI address and/or MAC

 include/libvirt/libvirt.h.in |    7 ++--
 src/conf/domain_conf.c       |    9 +++++-
 src/conf/domain_conf.h       |    2 +-
 src/openvz/openvz_conf.c     |    3 +-
 src/qemu/qemu_command.c      |    3 +-
 src/qemu/qemu_driver.c       |    3 +-
 src/qemu/qemu_hotplug.c      |   46 +++++++++++++++++++++-------
 src/vbox/vbox_tmpl.c         |    4 ++-
 src/vmx/vmx.c                |    3 +-
 src/xen/xm_internal.c        |   66 +++++++++++++++++++++++++++++++++--------
 src/xenxs/xen_sxpr.c         |    3 +-
 src/xenxs/xen_xm.c           |    3 +-
 12 files changed, 115 insertions(+), 37 deletions(-)

-- 
1.7.4


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