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

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

 



  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

Attachment: signature.asc
Description: PGP signature

--
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]