Repository navigation
build(qemu): disable virglrenderer and opengl on Linux - #51
Closed
fengqiaoqu wants to merge 1 commit into
Closed
fengqiaoqu wants to merge 1 commit into
fengqiaoqu wants to merge 1 commit into
Conversation
The emulator only uses virtio-gpu-device. Leaving virgl/opengl on auto pulled unused libs and built vhost-user-gpu whenever the host had those -dev packages, so a local Linux build differed from CI.
Owner
|
Thanks. This change lands as a maintainer commit for #46, so I'm closing this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #46.
Linux
HOST_FLAGSinqemu/build.shnow pass--disable-virglrenderer --disable-opengl. The guest path is plainvirtio-gpu-device, so those configure defaults only added unused host libs and avhost-user-gpuninja target when the -dev packages were present.I did not rebuild QEMU on this box (no full aarch64 softmmu toolchain here). After a Linux
qemu/build.shrun,ldd qemu/install/bin/qemu-system-aarch64should show none oflibvirglrenderer/libepoxy/libgbm, andvhost-user-gpushould not be a ninja target.