aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-mtp.c
diff options
context:
space:
mode:
authorAndrew Baumann <Andrew.Baumann@microsoft.com>2017-03-24 16:19:43 -0700
committerMichael S. Tsirkin <mst@redhat.com>2017-03-29 02:35:24 +0300
commitb8adbc657802482e4da1767bf983ebfdf9bfe9fc (patch)
tree52c8f0366555877974a9d6264bfb02f979ac0908 /hw/usb/dev-mtp.c
parentc53598ed18e40a9609573b21f2a361221ca0f806 (diff)
downloadqemu-b8adbc657802482e4da1767bf983ebfdf9bfe9fc.zip
qemu-b8adbc657802482e4da1767bf983ebfdf9bfe9fc.tar.gz
qemu-b8adbc657802482e4da1767bf983ebfdf9bfe9fc.tar.bz2
virtio: fix vring_align() on 64-bit windows
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 <Andrew.Baumann@microsoft.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/usb/dev-mtp.c')
0 files changed, 0 insertions, 0 deletions