[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 for-2.9?] virtio: fix vring_align() on 64-bit
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3 for-2.9?] virtio: fix vring_align() on 64-bit windows |
Date: |
Tue, 28 Mar 2017 13:51:57 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 03/28/2017 01:38 PM, Stefan Weil wrote:
> Am 25.03.2017 um 00:19 schrieb 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 <address@hidden>
>> Reviewed-by: Eric Blake <address@hidden>
>> ---
> Eric added "for-2.9" to the subject line of v2, but now it was
> missing again for v3.
>
> Is this needed for 2.9?
Yes, it's a correctness bug that avoids miscompilation on 64-bit targets
where long is 32 bits (which, at the moment, is really just Windows).
> I wonder why I never before noticed
> a problem or got a bug report for this issue.
Probably because so few people are testing on native Windows, and it
doesn't affect other platforms.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3] virtio: fix vring_align() on 64-bit windows, Andrew Baumann, 2017/03/24
- Re: [Qemu-devel] [PATCH v3 for-2.9?] virtio: fix vring_align() on 64-bit windows, Stefan Weil, 2017/03/28
- Re: [Qemu-devel] [PATCH v3 for-2.9?] virtio: fix vring_align() on 64-bit windows,
Eric Blake <=
- Re: [Qemu-devel] [PATCH v3 for-2.9?] virtio: fix vring_align() on 64-bit windows, Andrew Baumann, 2017/03/28
- Re: [Qemu-devel] [PATCH v3 for-2.9?] virtio: fix vring_align() on 64-bit windows, Stefan Weil, 2017/03/28
- Re: [Qemu-devel] [PATCH v3 for-2.9] virtio: fix vring_align() on 64-bit windows, Stefan Weil, 2017/03/28
- Re: [Qemu-devel] [PATCH v3 for-2.9] virtio: fix vring_align() on 64-bit windows, Michael S. Tsirkin, 2017/03/28
- Re: [Qemu-devel] [PATCH v3 for-2.9] virtio: fix vring_align() on 64-bit windows, Stefan Weil, 2017/03/28
Re: [Qemu-devel] [PATCH v3 for-2.9?] virtio: fix vring_align() on 64-bit windows, Philippe Mathieu-Daudé, 2017/03/28
Re: [Qemu-devel] [PATCH v3] virtio: fix vring_align() on 64-bit windows, Michael S. Tsirkin, 2017/03/28