Re: [Qemu-devel] [PATCH v3] virtio: fix vring_align() on 64-bit windows

2017-03-28 Thread Michael S. Tsirkin
On Fri, Mar 24, 2017 at 04:19:43PM -0700, Andrew Baumann wrote: > long is 32-bits on 64-bit windows, which caused the top half of the > address to be truncated; this patch changes it to use the > QEMU_ALIGN_UP macro which does not suffer the same problem > > Signed-off-by: Andrew Baumann > Review

[Qemu-devel] [PATCH v3] virtio: fix vring_align() on 64-bit windows

2017-03-24 Thread Andrew Baumann
long is 32-bits on 64-bit windows, which caused the top half of the address to be truncated; this patch changes it to use the QEMU_ALIGN_UP macro which does not suffer the same problem Signed-off-by: Andrew Baumann Reviewed-by: Eric Blake --- include/hw/virtio/virtio.h | 2 +- 1 file changed, 1