[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix network frontend device unregister and removal


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Murillo Bernardes <mfb@xxxxxxxxxx>
  • Date: Tue, 27 Dec 2005 16:59:18 -0200
  • Delivery-date: Tue, 27 Dec 2005 19:03:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi folks,

This patch reorganizes network frontend device unregister and removal, so that 
occur in the right order and succeed.

Now on Closing state we:
- stop queue
- unbind irq
- unregister the device

On removal:
- end foreign access to TX and RX pages (we cannot do this before)
- free_netdev, doing the last stage of destroying an allocated device

Makes xm-test network "03_attach_detach_multiple_pos" pass:
http://xmtest.dague.org/cgi-bin/display?view=single&testid=1068

Comments?

Signed-off-by: Murillo F. Bernardes <mfb@xxxxxxxxxx>

-- 
Murillo Fernandes Bernardes
IBM Linux Technology Center

Attachment: device_removal-netfront.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®.