]> git.proxmox.com Git - mirror_qemu.git/commit
vmxnet3: Convert ring values to uint32_t's
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 15 Dec 2016 20:05:08 +0000 (20:05 +0000)
committerJason Wang <jasowang@redhat.com>
Mon, 6 Mar 2017 03:46:02 +0000 (11:46 +0800)
commit5504bba1fbc987bb3d1d47e169f53b2fe999716c
tree528a9d91a8748ed59724a2f6ad7c54b912035a3f
parent727c2d764fef0c9492a2e220ba8a6d0979836d36
vmxnet3: Convert ring values to uint32_t's

The index's in the Vmxnet3Ring were migrated as 32bit ints
yet are declared as size_t's.  They appear to be derived
from 32bit values loaded from guest memory, so actually
store them as that.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/vmxnet3.c