virtio/s390: implement PM operations for virtio_ccw
authorChristian Borntraeger <[email protected]>
Mon, 18 Dec 2017 16:21:23 +0000 (17:21 +0100)
committerMichael S. Tsirkin <[email protected]>
Wed, 14 Feb 2018 12:34:09 +0000 (14:34 +0200)
commitfa08a3b4eba59429cf7e241a7af089103e79160f
tree3a25f49d39b7ce7a296a713c8acacf629997482c
parent26d99834f89e76514076d9cd06f61e56e6a509b8
virtio/s390: implement PM operations for virtio_ccw

Suspend/Resume to/from disk currently fails. Let us wire
up the necessary callbacks. This is mostly just forwarding
the requests to the virtio drivers. The only thing that
has to be done in virtio_ccw itself is to re-set the
virtio revision.

Suggested-by: Thomas Huth <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Message-Id: <20171207141102[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
[CH: merged <20171218083706[email protected]> to fix
!CONFIG_PM configs]
Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
drivers/s390/virtio/virtio_ccw.c