Re: [PATCH 0/2] tools: Fix tools/virtio test build
From: Michael S. Tsirkin
Date: Mon Jun 22 2026 - 07:54:28 EST
On Mon, Jun 22, 2026 at 03:01:13PM +0800, Yichong Chen wrote:
> Hi Michael,
>
> I checked the history again. The tree was based on v7.1, but I had
> unrelated local commits on top when I generated the series.
>
> I rechecked this on a clean v7.1 tree:
>
> 8cd9520d35a6 ("Linux 7.1")
>
> The build failure is still reproducible with:
>
> make -C tools/virtio test
>
> The first failure is:
>
> include/linux/virtio.h:10:10: fatal error:
> linux/mod_devicetable.h: No such file or directory
>
> The two patches also apply cleanly on top of v7.1 and make
> the tools/virtio test target build virtio_test, vringh_test and
> vhost_net_test.
>
> I can resend a v2 based on v7.1 with a base-commit if you prefer.
>
> Thanks,
> Yichong
Hello, thanks for the report!
the commit to try is 8cb2c9285e4ce9154f45fb15633ebd45dfd8d9cf - that is
not in 7.1.