-
Notifications
You must be signed in to change notification settings - Fork 28
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
Running macOS guests #139
Comments
It is not a use case we (dependent applications; Podman Machine, CRC) have, but nothing that prevents this. |
I found this project via Podman actually!
^ running vfkit version: 0.5.1 I can get a code signing cert to compile vz with the required entitlements and test building an image with it, but wanted to make sure I'm not doing something obviously wrong first. |
It looks like this might not work even when supplying an image that works with other tools because vfkit hasn't implemented VZMacPlatformConfiguration or VZMacOSBootLoader. If you compare the vz examples for macOS and Linux, you can see the Linux VM uses slightly different calls, like VZGenericPlatformConfiguration. I could be wrong about all this though 😅 |
Yes, a few things are missing in If you want to try to implement this, I'd be happy to help with guidance/suggestions/... if needed. |
A few thoughts about this (which might be wrong ;)
|
vfkit does not make use of this, I don't know if it should.. |
Thank you for the suggestions on how to get started. I'll open up a draft pull request when I have something worth sharing. |
Implementing VZGenericPlatformConfiguration would require dropping macOS 11 support. |
It looks like the most common use of vfkit is running GNU/Linux guests, but of course the Virtualization framework also supports running macOS guests and vz can download and run macOS guests from .ipsw files. Is it possible to run a macOS guest using vfkit (ideally from a .ipsw)?
The text was updated successfully, but these errors were encountered: