From: Amit Shah Date: Thu, 22 Dec 2011 11:28:33 +0000 (+0530) Subject: virtio: net: Add freeze, restore handlers to support S4 X-Git-Tag: v3.3-rc1~85^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0741bcb5584f9e2390ae6261573c4de8314999f2;p=pandora-kernel.git virtio: net: Add freeze, restore handlers to support S4 Remove all the vqs, disable napi and detach from the netdev on hibernation. Re-create vqs after restoring from a hibernated image, re-enable napi and re-attach the netdev. This keeps networking working across hibernation. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed