[PATCH 0/3] device-detaching with generated mac

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

 



When detaching interface via detach-device or virDomainDetachDevice() we
parse input XML and (probably) generate a random MAC. This leads then into
not finding interface and thus error. When a mac wasn't specified and domain
has exactly one interface, semantic is clear. Otherwise we require <mac> in
input XML.

Michal Privoznik (3):
  Introduce flag representing if MAC address of interface was generated
        or not.
  qemu: Check for generated MACs while detaching interface
  xen: Check for generated MACs while detaching interface

 src/conf/domain_conf.c  |    2 ++
 src/conf/domain_conf.h  |    1 +
 src/qemu/qemu_hotplug.c |   26 ++++++++++++++++++++------
 src/xen/xm_internal.c   |    3 ++-
 4 files changed, 25 insertions(+), 7 deletions(-)

-- 
1.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]