]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-pci: S3 support
authorAmit Shah <amit.shah@redhat.com>
Thu, 29 Mar 2012 07:21:41 +0000 (12:51 +0530)
committerAmit Shah <amit.shah@redhat.com>
Sat, 31 Mar 2012 02:39:51 +0000 (08:09 +0530)
commit705635c2e1eac9b09109e72d78cc950fb8cd1ee3
treeb1968224ab84bef66adba00d7480d4b449a0c946
parent99d461da6637b968aded37a7d676e1b6d3633e26
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>
drivers/virtio/virtio_pci.c