[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] PATCH: Set mac address on TUN device to fix Xenner
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [Libvir] PATCH: Set mac address on TUN device to fix Xenner
- Date: Wed, 27 Feb 2008 17:37:02 -0500
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 redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]