Re: [PATCH 2/2] util: reset MAC address of macvtap passthrough physdev after disassociate

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

 



On Thu, Jan 21, 2016 at 02:54:11PM -0500, Laine Stump wrote:
> libvirt always resets the MAC address of the physdev used for macvtap
> passthrough when the guest is finished with it. This was happening
> prior to the 802.1Qb[gh] DISASSOCIATE command, and was quite often
> failing, presumably because the driver wouldn't allow the MAC address
> to be reset while the association was still active, with a log message
> like this:
> Cc: Tony Krowiak <akrowiak@xxxxxxxxxxxxxxxxxx> 
> Cc: Christian Benvenuti <benve@xxxxxxxxx>
> 
> virNetDevSetMAC:168 : Cannot set interface MAC to 00:00:00:00:00:00 on 'eth13': Cannot assign requested address
> 
> This patch changes the order - we now do the 802.1Qb[gh] disassociate
> and delete the macvtap interface first, and then reset the MAC
> address.
> ---
>  src/util/virnetdevmacvlan.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

ACK

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