Skip to content
Commit b103f358 authored by Wei Liu's avatar Wei Liu Committed by David S. Miller
Browse files

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: default avatarWei Liu <wei.liu2@citrix.com>
Acked-by: default avatarIan Campbell <ian.campbell@citrix.com&gt;¬>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f1db320e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment