[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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Murillo Bernardes <mfb@xxxxxxxxxx>
  • Date: Mon, 26 Dec 2005 22:24:11 -0200
  • Delivery-date: Tue, 27 Dec 2005 00:28:10 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.