qemu-pmb887x/contrib
Ziyang Zhang bc5b22b4d4 contrib/plugins/dlcall: correct the syscall number claim, note the data model
The comment claimed every Linux ABI keeps its syscall numbers well below the
minimum, and that the minimum is all N has to satisfy. Neither holds.

MIPS O32 bases its numbering at 4000, so the default 4096 is its getpriority.
Raising N does not rescue it either, because O32 answers numbers its table does
not define with ENOSYS before the filter runs, which leaves no number that is
both free and reachable on that ABI. arm32 bounds N from above too, with ENOSYS
or SIGILL past ARM_NR_BASE. Say all of this, so the number can be chosen with
the target in mind.

guest_base == 0 is not the only requirement either. Host pointers are written
back through the caller's out pointers, so the guest must match the host's
pointer width and endianness. Fold that into the existing warning.

Also assert the two out pointers that lacked it, and point at Lorelei for
argument marshalling, callbacks and variadic functions.

Co-authored-by: Kailiang Xu <xukl2019@sjtu.edu.cn>
Co-authored-by: Mingyuan Xia <xiamy@ultrarisc.com>
Signed-off-by: Ziyang Zhang <functioner@sjtu.edu.cn>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Link: https://lore.kernel.org/qemu-devel/20260719074730.1520517-2-functioner@sjtu.edu.cn
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
2026-07-20 13:03:14 -07:00
..
elf2dmp contrib/elf2dmp: Grow PDB URL buffer 2026-03-09 16:45:24 +01:00
ivshmem-client configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
ivshmem-server util: drop qemu_socket_set_nonblock() 2025-09-19 12:46:07 +01:00
plugins contrib/plugins/dlcall: correct the syscall number claim, note the data model 2026-07-20 13:03:14 -07:00
systemd tools: build qemu-vmsr-helper 2024-07-22 13:50:21 +02:00
vhost-user-blk contrib/vhost-user-blk: fix overflowing expression 2024-07-21 14:45:56 -04:00
vhost-user-bridge contrib/vhost-user-bridge: Add UDP receive hexdump 2026-02-20 13:04:44 -05:00
vhost-user-gpu hw/display/virtio-gpu: cap submit_3d command buffer allocation 2026-07-17 15:52:31 +04:00
vhost-user-input contrib/vhost-user-*: use QEMU bswap helper functions 2024-07-02 09:27:56 -04:00
vhost-user-scsi configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
vmapple hw/vmapple/vmapple: Add vmapple machine type 2025-03-04 14:45:34 +01:00