virtio/s390: implement PM operations for virtio_ccw
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 18 Dec 2017 16:21:23 +0000 (17:21 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
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 <thuth@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <20171207141102.70190-2-borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
[CH: merged <20171218083706.223836-1-borntraeger@de.ibm.com> to fix
!CONFIG_PM configs]
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/s390/virtio/virtio_ccw.c