Peter Maydell <peter.mayd...@linaro.org> writes: > This patchset fixes the build on NetBSD by making sure we only > build the ivshmem-client and ivshmem-server tools if the host OS > actually supports ivshmem. (Previously we were only gating building > of the within-QEMU ivshmem PCI device.) > > Most of this patchset is the work of Kamil Rytarowski; I just > split it up into easily-reviewable patches and fixed a few bugs. > > Tested on Linux, on NetBSD, and on Linux with a '--disable-linux-user > --disable-system' config (which was the one that was failing with > our previous attempt to fix this bug). > > NB: we still have some things we need to fix to be able to put > NetBSD into the build-test set. The next issue is that 'make check' > fails with > > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$((RANDOM % 255 + 1))} gtester -k > --verbose -m=quick tests/check-qdict > sh: arith: syntax error: "RANDOM % 255 + 1" > > likely because we're using a bashism there.
Regardless of my inability to find CONFIG_IVSHMEM confusing (see PATCH 1), series Reviewed-by: Markus Armbruster <arm...@redhat.com>