diff options
author | Amit Shah <amit.shah@redhat.com> | 2011-12-22 16:58:30 +0530 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-12 15:44:45 +1030 |
commit | f8fb5bc23a50a5398aa31a4e8c6dbbef53d2dec6 (patch) | |
tree | a8f466179ba3afdce265607703ed280231e04e3c /drivers/net/virtio_net.c | |
parent | 6abd6e5a4404056e28be04958a57d0286883161a (diff) |
virtio: blk: Add freeze, restore handlers to support S4
Delete the vq and flush any pending requests from the block queue on the
freeze callback to prepare for hibernation.
Re-create the vq in the restore callback to resume normal function.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions