Skip to content
Commit f8fb5bc2 authored by Amit Shah's avatar Amit Shah Committed by Rusty Russell
Browse files

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: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 6abd6e5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment