Murillo Bernardes
2005-Dec-27 00:24 UTC
[Xen-devel] [PATCH] Fix uncleaned vif backend devices when frontend does not finish initialization properly
Today if frontend device does not finish initialization the backend vif still in dom0 forever. The problems are: - netif_disconnect only clean up devices with connected status. When a device has a problem it will not have that status and will not be cleaned up. - free_netif_callback must be able to unregister devices not completely initialized. Today''s code test if it has an irq assigned, if not it just return. Before a complete initialization netif does not have an irq number. Both situations occur today when trying to create more than 3 vif in a single domU. This patch fix uncleaned vif backend devices when frontend does not finish initialization properly. Comments welcome. Signed-off-by: Murillo F. Bernardes <mfb@br.ibm.com> -- Murillo Fernandes Bernardes IBM Linux Technology Center _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel