migration/virtio: Remove simple .get/.put use
commit50e5ae4dc3e4f21e874512f9e87b93b5472d26e0
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 6 Jan 2016 12:23:39 +0000 (6 12:23 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 9 Jan 2016 21:20:20 +0000 (9 23:20 +0200)
treecfff7f4de9677ff16b58f0c879425f015088f4fa
parent2cf0148674430b6693c60d42b7eef721bfa9509f
migration/virtio: Remove simple .get/.put use

The 'virtqueue_state' and 'ringsize' can be saved using VMSTATE
macros rather than hand coded .get/.put

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>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
hw/virtio/virtio.c