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

Michal Privoznik mprivozn at redhat.com
Mon Apr 4 09:27:34 UTC 2016


On 01.04.2016 19:54, Laine Stump wrote:
> 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(-)
> 

ACK series and safe for freeze.

Michal




More information about the libvir-list mailing list