summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-12-22 12:28:33 +0100
committerRusty Russell <rusty@rustcorp.com.au>2012-01-12 06:14:46 +0100
commit0741bcb5584f9e2390ae6261573c4de8314999f2 (patch)
treed52abfa39e08dbdda0bee35d85a72a8060391a16 /drivers/virtio
parentvirtio: net: Move vq and vq buf removal into separate function (diff)
downloadlinux-0741bcb5584f9e2390ae6261573c4de8314999f2.tar.xz
linux-0741bcb5584f9e2390ae6261573c4de8314999f2.zip
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 <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions