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

Bump QEMU to 8.0.2 #3

Merged
merged 3 commits into from Jun 10, 2023
Merged

Bump QEMU to 8.0.2 #3

merged 3 commits into from Jun 10, 2023

Conversation

scribam
Copy link
Contributor

@scribam scribam commented May 3, 2023

  • cocoa have to be enabled else the objective-c compiler is not found (required to compile .m files)
  • link with zlib was added to build qemu tests correctly

@jacob-carlborg
Copy link
Contributor

Have you tested the action with this change?

link with zlib was added to build qemu tests correctly

Can the tests be disabled? Would hopefully improve the build times as well.

@scribam
Copy link
Contributor Author

scribam commented May 4, 2023

  • I have not tested the action with this change
  • Tests disabled and link with zlib removed

@scribam scribam changed the title Bump QEMU to 8.0.0 Bump QEMU to 8.0.2 Jun 8, 2023
@jacob-carlborg
Copy link
Contributor

I tested QEMU 8 and it worked. But the CI pipeline in this repository also include the Xhyve hypervisor, and that broke. It's not related to the update of QEMU but something else. But it requires some further investigation to solve.

@scribam
Copy link
Contributor Author

scribam commented Jun 10, 2023

Is it this error?

##[debug]Getting MAC address
  /usr/bin/sudo /Users/runner/work/_temp/a6f93361-5929-4fe1-bef6-60f26d2ff947/bin/xhyve -U 864ED7F0-7876-4AA7-8511-816FABCFA87F -A -H -m 13G -c 3 -s 0:0,hostbridge -s 2:0,virtio-net -s 4:0,virtio-blk,/Users/runner/work/_temp/6ca2648a-a345-4e61-a9b0-4fd3ebbada6c/disk.raw -s 4:1,virtio-blk,/tmp/resourcesDABbKW/res.raw -s 31,lpc -l com1,stdio -f fbsd,/Users/runner/work/_temp/a6f93361-5929-4fe1-bef6-60f26d2ff947/userboot.so,/Users/runner/work/_temp/6ca2648a-a345-4e61-a9b0-4fd3ebbada6c/disk.raw, -M
  hv_vm_create unknown error -85377017

Could it be because there is a mismatch between the runner which builds xhyve (macos-11) and the one which runs it (macos-12)?

@jacob-carlborg
Copy link
Contributor

Is it this error?

Yes, exactly.

Could it be because there is a mismatch between the runner which builds xhyve (macos-11) and the one which runs it (macos-12)?

No, I don't think so. The Xhyve from resources 0.7.0 still works. This is from last week: https://github.com/cross-platform-actions/action/actions/runs/5136393337.

@jacob-carlborg jacob-carlborg merged commit 2a43666 into cross-platform-actions:master Jun 10, 2023
2 checks passed
@jacob-carlborg
Copy link
Contributor

Thanks. I managed to add an entitlement for hypervisor to the Xhyve executable, now it's working again.

@scribam scribam deleted the qemu-8.0.0 branch June 10, 2023 22:14
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.

None yet

2 participants