Re: PATCH: Set mac address on TUN device to fix Xenner

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

 



On Wed, Feb 27, 2008 at 09:36:56PM +0000, Daniel P. Berrange wrote:
> 
> The QEMU driver pre-allocates a TAP device and connects it to a bridge
> when using virtual networking. The FD associated with the tap device is
> then passed to QEMU.
> 
> When running Xen guests, Xenner needs to turn this FD back into a TUN
> device name. It does this by querying the hardware address of each NIC
> and looking for the one which matches that it expects - ie its TUN device.
> This obviously requires that the TUN device be configured with a MAC
> address though. libvirt does not currently do this. This patch fixes this
> and thus makes Xenner work from the QEMU driver when using virtual 
> networking

  needed and looks clean to me, +1

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

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