From: Stefan Hajnoczi <stefanha@redhat.com>
To: "Cédric Le Goater" <clg@redhat.com>
Cc: qemu-devel@nongnu.org,
"Alex Williamson" <alex.williamson@redhat.com>,
"Cédric Le Goater" <clg@redhat.com>
Subject: Re: [PULL 00/17] vfio queue
Date: Wed, 25 Dec 2024 08:31:39 -0500 [thread overview]
Message-ID: <20241225133139.GA930035@fedora> (raw)
In-Reply-To: <20241224151547.386529-1-clg@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 4039 bytes --]
Hi Cédric,
Please take a look at the following 32-bit CI failure:
i686-linux-gnu-gcc -m32 -Ilibqemu-x86_64-softmmu.a.p -I. -I.. -Itarget/i386 -I../target/i386 -Isubprojects/libvduse -I../subprojects/libvduse -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/capstone -I/usr/include/p11-kit-1 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/spice-server -I/usr/include/spice-1 -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/slirp -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/i386-linux-gnu -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/vte-2.91 -I/usr/include/virgl -I/usr/include/cacard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/PCSC -I/usr/include/libusb-1.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -I/usr/include/uuid -fdiagnostics-color=auto -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -fstack-protector-strong -Wempty-body -Wendif-labels -Wexpansion-to-defined -Wformat-security -Wformat-y2k -Wignored-qualifiers -Wimplicit-fallthrough=2 -Winit-self -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wold-style-declaration -Wold-style-definition -Wredundant-decls -Wshadow=local -Wstrict-prototypes -Wtype-limits -Wundef -Wvla -Wwrite-strings -Wno-missing-include-dirs -Wno-psabi -Wno-shift-negative-value -isystem /builds/qemu-project/qemu/linux-headers -isystem linux-headers -iquote . -iquote /builds/qemu-project/qemu -iquote /builds/qemu-project/qemu/include -iquote /builds/qemu-project/qemu/host/include/i386 -iquote /builds/qemu-project/qemu/host/include/generic -iquote /builds/qemu-project/qemu/tcg/i386 -msse2 -mfpmath=sse -D_GNU_SOURCE -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -ftrivial-auto-var-init=zero -fzero-call-used-regs=used-gpr -fPIE -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DUSE_POSIX_ACLS=1 -pthread -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNCURSES_WIDECHAR=1 -D_REENTRANT -DSTRUCT_IOVEC_DEFINED -isystem../linux-headers -isystemlinux-headers -DCOMPILING_PER_TARGET '-DCONFIG_TARGET="x86_64-softmmu-config-target.h"' '-DCONFIG_DEVICES="x86_64-softmmu-config-devices.h"' -MD -MQ libqemu-x86_64-softmmu.a.p/hw_vfio_igd.c.o -MF libqemu-x86_64-softmmu.a.p/hw_vfio_igd.c.o.d -o libqemu-x86_64-softmmu.a.p/hw_vfio_igd.c.o -c ../hw/vfio/igd.c
../hw/vfio/igd.c: In function ‘vfio_igd_pci_config_read’:
../hw/vfio/igd.c:438:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
438 | hw_error("igd: unsupported pci config read at %lx, size %u",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
439 | offset, size);
| ~~~~~~
| |
| uint64_t {aka long long unsigned int}
../hw/vfio/igd.c: In function ‘vfio_igd_pci_config_write’:
../hw/vfio/igd.c:463:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
463 | hw_error("igd: unsupported pci config write at %lx, size %u",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
464 | offset, size);
| ~~~~~~
| |
| uint64_t {aka long long unsigned int}
cc1: all warnings being treated as errors
https://gitlab.com/qemu-project/qemu/-/jobs/8722428394#L6317
Once the issue has been resolved, please send a new revision of this
pull request. Thanks!
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2024-12-25 14:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-24 15:15 [PULL 00/17] vfio queue Cédric Le Goater
2024-12-24 15:15 ` [PULL 01/17] vfio/igd: fix GTT stolen memory size calculation for gen 8+ Cédric Le Goater
2024-12-24 15:15 ` [PULL 02/17] vfio/igd: remove unsupported device ids Cédric Le Goater
2024-12-24 15:15 ` [PULL 03/17] vfio/igd: align generation with i915 kernel driver Cédric Le Goater
2024-12-24 15:15 ` [PULL 04/17] vfio/igd: canonicalize memory size calculations Cédric Le Goater
2024-12-24 15:15 ` [PULL 05/17] vfio/igd: add Gemini Lake and Comet Lake device ids Cédric Le Goater
2024-12-24 15:15 ` [PULL 06/17] vfio/igd: add Alder/Raptor/Rocket/Ice/Jasper " Cédric Le Goater
2024-12-24 15:15 ` [PULL 07/17] vfio/igd: add macro for declaring mirrored registers Cédric Le Goater
2024-12-24 15:15 ` [PULL 08/17] vfio/igd: emulate GGC register in mmio bar0 Cédric Le Goater
2024-12-24 15:15 ` [PULL 09/17] vfio/igd: emulate BDSM in mmio bar0 for gen 6-10 devices Cédric Le Goater
2024-12-24 15:15 ` [PULL 10/17] vfio/igd: add x-igd-gms option back to set DSM region size for guest Cédric Le Goater
2024-12-24 15:15 ` [PULL 11/17] vfio/container: Add dirty tracking started flag Cédric Le Goater
2024-12-24 15:15 ` [PULL 12/17] vfio/migration: Refactor vfio_devices_all_dirty_tracking() logic Cédric Le Goater
2024-12-24 15:15 ` [PULL 13/17] vfio/migration: Refactor vfio_devices_all_running_and_mig_active() logic Cédric Le Goater
2024-12-24 15:15 ` [PULL 14/17] vfio/migration: Rename vfio_devices_all_dirty_tracking() Cédric Le Goater
2024-12-24 15:15 ` [PULL 15/17] system/dirtylimit: Don't use migration_is_active() Cédric Le Goater
2024-12-24 15:15 ` [PULL 16/17] migration: Drop migration_is_device() Cédric Le Goater
2024-12-24 15:15 ` [PULL 17/17] migration: Unexport migration_is_active() Cédric Le Goater
2024-12-25 13:31 ` Stefan Hajnoczi [this message]
2024-12-25 17:48 ` [PULL 00/17] vfio queue Cédric Le Goater
-- strict thread matches above, loose matches on Subject: below --
2024-01-08 7:32 Cédric Le Goater
2024-01-08 13:16 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241225133139.GA930035@fedora \
--to=stefanha@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=clg@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.