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

Minikube with QEMU won't start on macOS 15.2 and M4 #20169

Open
pascalrobert opened this issue Dec 28, 2024 · 4 comments
Open

Minikube with QEMU won't start on macOS 15.2 and M4 #20169

pascalrobert opened this issue Dec 28, 2024 · 4 comments

Comments

@pascalrobert
Copy link

What Happened?

Hello,

I just moved from a M1 Pro to a M4 Pro, and got this problem:

ERROR: Unexpected error in object_property_find_err() at ../qom/object.c:1350:
qemu-system-aarch64: Property 'host-arm-cpu.sme' not found

Looks like it's related to: https://gitlab.com/qemu-project/qemu/-/issues/2721

Attach the log file

logs.txt

Operating System

macOS (Default)

Driver

QEMU

@svinther
Copy link

Seems if minikube could be made to start qemu with -cpu cortex-a57 then it could run as a workaround, but I don't think there is a easy way to have minikube do that ?

@afbjorklund
Copy link
Collaborator

There is a "CPUType" parameter to the driver, and it is being set (to cortex-a72) in the minikube registry:

https://github.com/kubernetes/minikube/blob/master/pkg/minikube/registry/drvs/qemu2/qemu2.go#L128

@svinther
Copy link

it ends up as CPUType=host here I think https://github.com/kubernetes/minikube/blob/master/pkg/minikube/registry/drvs/qemu2/qemu2.go#L149

However, seems no way to override that when calling minikube start

@afbjorklund
Copy link
Collaborator

Unfortunately minikube hardcodes most of the config passed to docker-machine, here is where it ends up:

https://github.com/kubernetes/minikube/blob/master/pkg/drivers/qemu/qemu.go#L383

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

3 participants