[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 0/8] Input 20190510 patches
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PULL 0/8] Input 20190510 patches |
Date: |
Mon, 13 May 2019 08:54:49 +0200 |
User-agent: |
NeoMutt/20180716 |
> Hi; there are some compile failures here I'm afraid:
>
> On ppc64:
>
> /home/pm215/qemu/contrib/libvhost-user/libvhost-user.c: In function
> ‘vu_set_mem_table_exec_postcopy’:
> /home/pm215/qemu/contrib/libvhost-user/libvhost-user.c:666:9: error:
> format ‘%llx’ expects argument of type ‘long long unsigned int’, but
> argument 5 has type ‘__u64’ [-Werror=format=]
> DPRINT("%s: region %d: Registered userfault for %llx + %llx\n",
> ^
> /home/pm215/qemu/contrib/libvhost-user/libvhost-user.c:666:9: error:
> format ‘%llx’ expects argument of type ‘long long unsigned int’, but
> argument 6 has type ‘__u64’ [-Werror=format=]
> cc1: all warnings being treated as errors
>
> On arm (and probably any 32-bit host):
>
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c: In
> function 'vu_set_mem_table_exec_postcopy':
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c:624:23:
> error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
> ret = madvise((void *)dev_region->mmap_addr,
> ^
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c:636:23:
> error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
> ret = madvise((void *)dev_region->mmap_addr,
> ^
> /home/peter.maydell/qemu/contrib/libvhost-user/libvhost-user.c:669:22:
> error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
> if (mprotect((void *)dev_region->mmap_addr,
> ^
Patch #6 dropped, v2 sent.
cheers,
Gerd
- [Qemu-devel] [PULL 0/8] Input 20190510 patches, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 1/8] libvhost-user: fix -Waddress-of-packed-member, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 7/8] virtio-input-host-pci: cleanup types, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 3/8] Add vhost-user-backend, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 2/8] libvhost-user: add PROTOCOL_F_CONFIG if {set, get}_config, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 8/8] virtio-input: fix Kconfig dependency and Makefile, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 5/8] util: simplify unix_listen(), Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 4/8] Add vhost-user-input-pci, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PULL 6/8] contrib: add vhost-user-input, Gerd Hoffmann, 2019/05/10
- Re: [Qemu-devel] [PULL 0/8] Input 20190510 patches, Peter Maydell, 2019/05/10
- Re: [Qemu-devel] [PULL 0/8] Input 20190510 patches,
Gerd Hoffmann <=