linux/tools/virtio/linux
Michael S. Tsirkin 3afcb36309 tools/virtio: fix build for kmalloc_obj API and missing stubs
Add stubs for kmalloc_obj() and kmalloc_objs() to the tools/virtio
test harness, matching the new kernel allocator API. Also add the
DMA_ATTR_CPU_CACHE_CLEAN definition and include kernel.h from err.h
for the unlikely() macro.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <a0bd4b5bed56c49626c92a754d7aceab3325de25.1780520728.git.mst@redhat.com>
2026-06-10 02:16:59 -04:00
..
bug.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
build_bug.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
compiler.h tools/virtio: fix up compiler.h stub 2025-12-24 08:02:55 -05:00
cpumask.h tools/virtio: add struct cpumask to cpumask.h 2025-12-24 08:02:56 -05:00
device.h tools/virtio: add device, device_driver stubs 2025-12-24 08:02:56 -05:00
dma-mapping.h tools/virtio: fix build for kmalloc_obj API and missing stubs 2026-06-10 02:16:59 -04:00
err.h tools/virtio: fix build for kmalloc_obj API and missing stubs 2026-06-10 02:16:59 -04:00
export.h
gfp.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
hrtimer.h
irqreturn.h
kernel.h tools/virtio: fix build for kmalloc_obj API and missing stubs 2026-06-10 02:16:59 -04:00
kmemleak.h
kmsan.h kmsan: convert kmsan_handle_dma to use physical addresses 2025-09-12 00:18:20 +02:00
mm_types.h tools/virtio: handle fallout from folio work 2022-03-06 06:06:50 -05:00
module.h tools/virtio: add struct module forward declaration 2025-12-24 08:02:56 -05:00
printk.h
ratelimit.h
scatterlist.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
slab.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spinlock.h tools/virtio: fix build 2021-08-11 06:44:24 -04:00
thread_info.h tools/virtio: more stubs to fix tools build 2018-01-29 12:02:54 -05:00
topology.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
uaccess.h tools/virtio: fix build caused by virtio_ring changes 2023-04-21 03:02:35 -04:00
ucopysize.h tools/virtio: add ucopysize.h stub 2025-12-24 08:02:56 -05:00
uio.h
virtio_byteorder.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_config.h tools/virtio: switch to kernel's virtio_config.h 2025-12-24 08:02:56 -05:00
virtio_ring.h
virtio.h tools/virtio: use kernel's virtio.h 2025-12-24 08:02:55 -05:00
vringh.h tools/virtio: fix build 2022-08-11 04:26:07 -04:00