Bug 435063 - Xenner fails to identify TAP device because libvirt does not configure MAC address
Summary: Xenner fails to identify TAP device because libvirt does not configure MAC ad...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: LibvirtXenner
TreeView+ depends on / blocked
 
Reported: 2008-02-27 04:10 UTC by Daniel Berrangé
Modified: 2008-03-13 21:38 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-13 21:38:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2008-02-27 04:10:33 UTC
Description of problem:
Xenner needs to know the name of the TAP devices used for guest networking. When
the libvirt QEMU driver invokes Xenner it merely passes a file descriptor.
Xenner turns this into a interface name by querying each network interface in
turn looking for  one with matching mac address.

libvirt though does not set the MAC address on the tap device it creates, so
Xenner never finds the matching device. The QEMU driver can simply set the MAC
address on the TAP device before invoking Xenner.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Berrangé 2008-02-27 22:19:16 UTC
Patch posted upstream:

http://www.redhat.com/archives/libvir-list/2008-February/msg00406.html

Comment 2 Daniel Berrangé 2008-03-13 21:38:32 UTC
Fixed in rawhide in combination of

libvirt-0.4.1-4.fc9
xenner-0.25-5.fc9

Now pass explicit tap device name using ifname=  param


Note You need to log in before you can comment on or make changes to this bug.