On Fri, 10 May 2019 at 15:10, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> The following changes since commit 812b835fb4d23dd108b2f9802158472d50b73579:
>
> Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2019-05-07' into staging (2019-05-09 16:31:12 +0100)
>
> are available in the Git repository at:
>
> git://git.kraxel.org/qemu tags/input-20190510-pull-request
>
> for you to fetch changes up to 7fb6e5a839bc625fd64c32d167f231ecd6f2b3e2:
>
> virtio-input: fix Kconfig dependency and Makefile (2019-05-10 14:54:11 +0200)
>
> ----------------------------------------------------------------
> input: add vhost-user-input, virtio-input fixes.
>
> ----------------------------------------------------------------
>
> Gerd Hoffmann (2):
> virtio-input-host-pci: cleanup types
> virtio-input: fix Kconfig dependency and Makefile
>
> Marc-André Lureau (6):
> libvhost-user: fix -Waddress-of-packed-member
> libvhost-user: add PROTOCOL_F_CONFIG if {set, get}_config
> Add vhost-user-backend
> Add vhost-user-input-pci
> util: simplify unix_listen()
> contrib: add vhost-user-input
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,
^
thanks
-- PMM