]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6261e0d91222fdd8ca98af870d8f0d3c7e941ceb
tree3a25f49d39b7ce7a296a713c8acacf629997482c
parent97480a16acdcb064f8c983c3034a6f620eee72ee
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