linux/drivers/net/xen-netback
Wei Liu b103f358d9 xen-netback: enable user to unload netback module
This patch enables user to unload netback module, which is useful when user
wants to upgrade to a newer netback module without rebooting the host.

Netfront cannot handle netback removal event. As we cannot fix all possible
frontends we add module get / put along with vif get / put to avoid
mis-unloading of netback. To unload netback module, user needs to shutdown all
VMs or migrate them to another host or unplug all vifs before hand.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>¬
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-17 18:23:07 -07:00
..
common.h xen-netback: enable user to unload netback module 2013-05-17 18:23:07 -07:00
interface.c xen-netback: enable user to unload netback module 2013-05-17 18:23:07 -07:00
Makefile
netback.c xen-netback: enable user to unload netback module 2013-05-17 18:23:07 -07:00
xenbus.c xen-netback: enable user to unload netback module 2013-05-17 18:23:07 -07:00