Amit Shah f8fb5bc23a 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>
2012-01-12 15:44:45 +10:30
..
2012-01-03 22:54:07 -05:00
2012-01-03 22:54:07 -05:00
2011-11-28 20:12:05 +01:00
2011-08-08 11:40:15 +02:00
2012-01-03 22:54:07 -05:00
2012-01-03 22:54:07 -05:00
2011-12-07 10:46:19 -08:00
2011-12-12 12:42:12 +01:00
2009-03-26 21:15:27 +01:00
2011-12-10 19:52:46 +01:00
2011-03-31 11:26:23 -03:00
2008-10-21 07:48:11 -04:00
2012-01-05 08:34:29 +01:00