Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update qemu version to v7.0.0 #93

Merged
merged 5 commits into from
Jul 12, 2022
Merged

Conversation

crazy-max
Copy link
Collaborator

@crazy-max crazy-max commented Jul 11, 2022

also adds a new patch for buildkit patches to use GLib to remember the program name as error_get_progname has been removed: qemu/qemu@336d354

closes #83
might solve #90

cc @jedevc

@crazy-max
Copy link
Collaborator Author

Can be tested with:

$ docker run --privileged --rm crazymax/binfmt:v7.0.0 --uninstall qemu-*
$ docker run --privileged --rm crazymax/binfmt:v7.0.0 --install all

@jedevc
Copy link

jedevc commented Jul 11, 2022

LGTM - have played around with a custom buildkit build using QEMU 7.0.0, I'm still able to build all the things I was able to previously :)

sched patches is now available upstream since qemu 7.0
zero-init-msghdr is not needed anymore (available on aports)

Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
@crazy-max
Copy link
Collaborator Author

crazy-max commented Jul 12, 2022

@tonistiigi fyi, I changed how aports patches are handled. now it matches qemu version <major>.<minor> for applying them and uses a specific aport commit instead of HEAD for better traceability as our build logs are lost after 90 days.

also exposes the QEMU_PATCHES var so we are able to set arbitrary patches to apply like:

$ QEMU_VERSION=v6.2.0 QEMU_PATCHES=cpu-max,zero-init-msghdr,sched docker buildx bake mainline

@crazy-max crazy-max merged commit e7df001 into tonistiigi:master Jul 12, 2022
@crazy-max crazy-max deleted the qemu-v7.0.0 branch July 12, 2022 13:36
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.

qemu v7.0.0-rc3 build error
2 participants