[libvirt] [PATCH 0/3] fix regression wrt <interface typ='hostdev'>

Laine Stump laine at laine.org
Fri Apr 1 17:54:59 UTC 2016


The full description of the problem fixed by these patches is in patch
3/3. Basically, a recent patch changed the ordering of things during
startup such that hostdev interfaces are given an alias named "netN"
rather than the expected "hostdevN". That caused a problem when
subsequently trying to hotplug another interface of any kind.

This is solved by adding a new function that lets us learn the type of
any interface prior to setting it up, then using that function to
change the behavior when assigning aliases.

This *really* should be pushed before 1.3.3 is released.

Laine Stump (3):
  network: new function networkGetActualType
  qemu: change args to qemuAssignDeviceHostdevAlias()
  qemu: fix alias name for <interface type='hostdev'>

 src/network/bridge_driver.c | 72 +++++++++++++++++++++++++++++++++++++++++++++
 src/network/bridge_driver.h |  6 +++-
 src/qemu/qemu_alias.c       | 60 +++++++++++++++++++++----------------
 src/qemu/qemu_alias.h       |  2 +-
 src/qemu/qemu_hotplug.c     | 10 +++----
 5 files changed, 118 insertions(+), 32 deletions(-)

-- 
2.5.5




More information about the libvir-list mailing list