-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
machine/applehv: Switch to NVMe by default #21208
base: main
Are you sure you want to change the base?
Conversation
This depends on crc-org/vfkit#78 and is an alternative to crc-org/vfkit#76 that I like better for fixing containers#21160 It looks like at least UTM switched to NVMe for Linux guests by default for example. [NO NEW TESTS NEEDED] Signed-off-by: Colin Walters <walters@verbum.org>
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cgwalters The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Ephemeral COPR build failed. @containers/packit-build please check. |
I don't know which macOS versions podman supports, but NVMe is macOS 14+ only ( https://developer.apple.com/documentation/virtualization/vznvmexpresscontrollerdeviceconfiguration?language=objc ). macOS 14 was released about 3 months ago. |
OK yeah, let's just close this then to get it off the board. It's just a bit tricky because it's one of those things I think we should do after enough time passes...ideally there'd be automation to set "hey a year from now, reopen this PR" (hmm what length of time do macos releases last actually?). |
Couldn't we just fail over?
|
Yep I like that idea! |
Although one thing I don't know is whether we actually fail when adding the device, or when trying to launch the VM. Backing up, I am a little bit surprised that the vfkit Go code compiles on older MacOS too...I guess this must be because it wraps objective C which is more "dynamically send a message" than "call this C function which may not exist on older OSes". |
There's 1 major release per year, with the last 2/3 major releases getting updates at a given time, see https://endoflife.date/macos |
The magic for this is https://github.com/Code-Hex/vz/blob/4f8ae6d82e477251a3241bb9696b83959947c5fb/virtualization_14.m#L15-L24 However, in podman case, none of that code is used/vendored as go code making use of |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This depends on crc-org/vfkit#78 and is an alternative to crc-org/vfkit#76 that I like better for fixing
#21160
It looks like at least UTM switched to NVMe for Linux guests by default for example.
[NO NEW TESTS NEEDED]