]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-pci: move freeze/restore to virtio core
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 14 Oct 2014 00:10:35 +0000 (10:40 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 14 Oct 2014 23:54:55 +0000 (10:24 +1030)
commitbaa25496c9f318a255b5f199fd940bb234c56e10
tree0a8cf01f68e1eb0c0e403c24e9fbf1d76ccb3568
parent522b57d47f341efcd7d04e1d5e88061d84b1cc9a
virtio-pci: move freeze/restore to virtio core

This is in preparation to extending config changed event handling
in core.
Wrapping these in an API also seems to make for a cleaner code.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio.c
drivers/virtio/virtio_pci.c
include/linux/virtio.h