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)
commit04c2322bee841121cfdd7f284e1d4274e9e60e33
treeb1968224ab84bef66adba00d7480d4b449a0c946
parent0517fdd156c46c23501451158c6b0ff9fb7236d1
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