virtio/migration: Add VMStateDescription to VirtioDeviceClass
commitea43e259873a9899227848bd2a24b57356395516
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 27 Oct 2016 17:36:36 +0000 (27 18:36 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Oct 2016 17:51:31 +0000 (30 19:51 +0200)
tree688b0dac86fa197a3cc92702e838e31deda7db72
parent5b2ecabaeabc17f032197246c4846b9ba95ba8a6
virtio/migration: Add VMStateDescription to VirtioDeviceClass

Provide a vmsd pointer for VirtIO devices to use instead of the
load/save methods.

We'll eventually kill off the load/save methods.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio.c
include/hw/virtio/virtio.h