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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to