Bug 435063

Summary: Xenner fails to identify TAP device because libvirt does not configure MAC address
Product: [Fedora] Fedora Reporter: Daniel Berrangé <berrange>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: berrange
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-13 21:38:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 435059    

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