From 0741bcb5584f9e2390ae6261573c4de8314999f2 Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Thu, 22 Dec 2011 16:58:33 +0530 Subject: [PATCH] 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-format-patch failed