[libvirt] [PATCH 0/3] fix regression wrt <interface typ='hostdev'>
Roman Bogorodskiy
bogorodskiy at gmail.com
Sat Apr 2 07:04:02 UTC 2016
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(-)
FWIW, it builds fine on FreeBSD.
Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160402/d1906444/attachment-0001.sig>
More information about the libvir-list
mailing list