[RFC PATCH] Set and reset MAC for PASSTHROUGH mode

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

 



there is a problem present in libvirt that when a PASSTHROUGH mode 
DIRECT NIC connection is made the MAC address of the NIC is not 
automatically set and reset to the configured VM MAC and back again.

The attached patch fixes this problem by setting and resetting the MAC
while remembering the previous setting while the VM is running.
This also works if libvirtd is restarted while the VM is running.

The storing of the previous MAC address is done in a link ( currently in /tmp,
but should probably go into /var/run somewhere ).

Best regards

Dirk


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