From: Amit Shah Date: Thu, 22 Dec 2011 11:28:30 +0000 (+0530) Subject: virtio: blk: Add freeze, restore handlers to support S4 X-Git-Tag: v3.3-rc1~85^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8fb5bc23a50a5398aa31a4e8c6dbbef53d2dec6;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed