summaryrefslogtreecommitdiffstats
path: root/hw/i386/kvm/clock.c
diff options
context:
space:
mode:
authorEric Blake2018-03-27 23:05:17 +0200
committerEric Blake2018-04-02 15:45:21 +0200
commit00d96a4612f81e82c181fe821d527e98abcbac07 (patch)
treedeab23533921cef2da3f8379068683c701f6e350 /hw/i386/kvm/clock.c
parentMerge remote-tracking branch 'remotes/riscv/tags/riscv-qemu-2.12-critical-fix... (diff)
downloadqemu-00d96a4612f81e82c181fe821d527e98abcbac07.tar.gz
qemu-00d96a4612f81e82c181fe821d527e98abcbac07.tar.xz
qemu-00d96a4612f81e82c181fe821d527e98abcbac07.zip
nbd: Fix 32-bit compilation on BLOCK_STATUS
iotests 123 and 209 fail on 32-bit platforms. The culprit: sizeof(extent) is wrong; we want sizeof(*extent). But since the struct is 8 bytes, it happened to work on 64-bit platforms where the pointer is also 8 bytes (nasty). Fixes: 78a33ab58 Reported-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20180327210517.1804242-1-eblake@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'hw/i386/kvm/clock.c')
0 files changed, 0 insertions, 0 deletions