]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio-pci: S3 support
authorAmit Shah <amit.shah@redhat.com>
Thu, 29 Mar 2012 08:28:10 +0000 (13:58 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 29 Mar 2012 11:47:15 +0000 (13:47 +0200)
commit2fbd9cc25e4383918ff94e3dac9996daeb99ead9
tree0ed272744c62b60c9f49088d7dac0ba521ab723f
parentace57f0d6404d992da28990eadf4bf09fe0b127d
virtio-pci: S3 support

There's no difference in supporting S3 and S4 for virtio devices: the
vqs have to be re-created as the device has to be assumed to be reset at
restore-time.  Since S4 already handles this situation, we can directly
use the same code and callbacks for S3 support.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci.c