Description of problem: When attempting to define a guest using a virtual network like <interface type='network'> <mac address='00:16:3e:60:36:ba'/> <source network='default'/> </interface> The resulting config file is incorrect - missing the name of the bridge device associated with the network. This is *very* serious bug because it means the guest will be attached to the wrong network device. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. virsh define demo.xml (see attached XML) 2. grep vif /etc/xen/rhel5pv3 3. Actual results: vif = [ "mac=00:16:3e:60:36:ba" ] Expected results: vif = [ "mac=00:16:3e:60:36:ba,bridge=virbr0" ] Additional info:
Created attachment 161028 [details] Demo XML with networking
Created attachment 161030 [details] Fix handling of virtual networks
Libvirt libvirt-0_2_3-6_el5 has been built with the fix in dist-5E-qu-candidate Daniel
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2007-0643.html