virtio-gpu: convert VMSTATE_VIRTIO_DEVICE
commit8a502efd0c4beb0bdd7fbcf67cc722db00eddca1
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Thu, 6 Oct 2016 12:55:44 +0000 (6 14:55 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2016 23:21:43 +0000 (10 02:21 +0300)
tree374d9d5b794b69a85f9b7b2bcd7b573564255ed8
parent97eed24ff1144fb0718c2fdf600742b5167e87a3
virtio-gpu: convert VMSTATE_VIRTIO_DEVICE

Use the new VMSTATE_VIRTIO_DEVICE macro. The device virtio-gpu is
special because it actually does not adhere to the virtio migration
schema, because device state is last.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/display/virtio-gpu.c