[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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@xxxxxxxxxx> -- Murillo Fernandes Bernardes IBM Linux Technology Center Attachment:
clean_backend_vifs-netback.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |