Skip to content

fix(qemu): build vhost-user-gpu so meson install succeeds on Linux - #45

Merged
nsaintot merged 2 commits into
nsaintot:mainfrom
erhan-:fix/qemu-build-vhost-user-gpu
Oct 18, 2026
Merged

nsaintot merged 2 commits into
nsaintot:mainfrom
erhan-:fix/qemu-build-vhost-user-gpu

Conversation

@erhan-

@erhan- erhan- commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Problem

On a Linux x86_64 host, ./qemu/build.sh compiles everything but fails in the install step:

Installing qemu-edid to .../qemu/install/bin

ERROR: File 'contrib/vhost-user-gpu/vhost-user-gpu' could not be found

--enable-tools makes meson configure the vhost-user-gpu helper on this host, and meson install --no-rebuild aborts when its binary is missing. The WANTED target list builds only a subset of the tools, and this one is not in it.

Change

Add contrib/vhost-user-gpu/vhost-user-gpu to WANTED. It goes through the existing KNOWN-targets intersection, so hosts where it is not a ninja target skip it as they do for the other optional tools.

Testing

Re-ran ./qemu/build.sh on the same Linux x86_64 host after the change: the build and install complete and qemu/install/bin/qemu-system-aarch64 is produced. I have not tried macOS or Windows builds; the change only touches the target list that is intersected with what ninja knows.

erhan- and others added 2 commits October 17, 2026 16:01
`--enable-tools` makes meson configure the vhost-user-gpu helper on Linux
hosts, and `meson install --no-rebuild` aborts when its binary is missing:

    ERROR: File 'contrib/vhost-user-gpu/vhost-user-gpu' could not be found

The WANTED list builds only a subset of the tools, so this one was never
built. Add it; hosts where it is not a target already skip it through the
KNOWN-targets intersection.
@nsaintot
nsaintot merged commit 91cee90 into nsaintot:main Oct 18, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants