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

Switch to Code-Hex/vz/v3 #14

Closed
cfergeau opened this issue Nov 4, 2022 · 3 comments
Closed

Switch to Code-Hex/vz/v3 #14

cfergeau opened this issue Nov 4, 2022 · 3 comments

Comments

@cfergeau
Copy link
Collaborator

cfergeau commented Nov 4, 2022

This new version of the bindings wraps the virtualization framework APIs added in macOS 13.
Of interest to us:

  • EFI support, which means we should no longer need external kernel/initrd, but directly boot from the disk image as on the other platforms
  • virtio-serial support, which qemu-guest-agent uses by default. This would allow us to remove the selinux changes/custom systemd unit from podman: Install qemu-guest-agent in the bundle snc#595
Copy link

gbraad commented Nov 4, 2022

How will this work for older versions of macOS?

@cfergeau
Copy link
Collaborator Author

cfergeau commented Nov 4, 2022

An error is returned when trying to use the newer APIs on older macOS versions, so this can be dealt with in code.
crc could have 2 codepaths while we wait for enough users to migrate to macOS 13, or we could keep using only the old codepaths for a longer while.
Having support for these new features in vfkit would at least allow us to check they are working as expected, and could be useful to other projects even if crc does not make use of them right now.

@cfergeau
Copy link
Collaborator Author

This was done in da9ae56

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

No branches or pull requests

2 participants