-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unable to start a VirtualMachineInstance on Mac Apple Silicon. #11917
Comments
Hi, can I ask you first what is the goal on running k8s + kubevirt on macbook? The main problem I think, its the fact that KubeVirt uses kvm and that's not supported on macbook. Yes, you can enable software emulation but it will be very slow, hence my first question to see if this is really what you want or not. wrt the error, it comes from libvirt. As per the user-guide, |
Hi @victortoso, first of all, thanks for your help. I'm doing some experiment with some small vm image and kubernetes. Anyway, on mac i can run the same image directly with qemu using When I try to specify a setting other than
|
I have exactly the same issue when I try to run Kubevirt on an M1 MacBook:
Relevant logs:
|
What happened:
It is impossible to run a VM on a MacBook Pro M1 Pro (Apple Silicon/aarch64).
When doing a
kubectl get vmi -o yaml
I get the following error:- lastProbeTime: null lastTransitionTime: "2024-05-14T15:29:49Z" message: 'server error. command SyncVMI failed: "LibvirtError(Code=67, Domain=10, Message=''unsupported configuration: CPU mode ''host-passthrough'' for aarch64 qemu domain on aarch64 host is not supported by hypervisor'')"' reason: Synchronizing with the Domain failed.
What you expected to happen:
The VM should start properly.
How to reproduce it (as minimally and precisely as possible):
As suggested in #10055, I enabled SW Emulation.
Moreover, I'm trying to run an ARM64 vm.
I used the following config for the virtual machine instance:
I found one with the same problem here.
Additional context:
No other things to report.
Environment:
virtctl version
): 1.2.0kubectl version
): v1.29.2uname -a
): DarwinThe text was updated successfully, but these errors were encountered: