Closed mmz06 closed 9 months ago
MacOS has only support for HVF acceleration, and not for KVM. But this container does not support HVF (as of yet).
So you can run it without KVM, by adding -e "KVM=N"
to your run command, so that you dont get the error. But the problem is that it will run very slow, so unless your Mac is very fast its not so useful Im afraid.
All right... Well at least now I know !🤓 Thank you for your answer !
Would be awesome to see it work for MacOS. Are you planning on supporting HVF?
@8192K The QEMU that comes with Debian is not compiled with HVF. So to support HVF I would need to compile a custom version of QEMU myself with HVF enabled. Even though that is not something that is impossible, I would rather not do that because it complicates to the whole build.
There are many good tools to run a VM on MacOS (like Parallels or UTM) so I am not sure the need for MacOS support is high. But if someone else submits a pull-request to add HVF support I might accept it.
I installed docker, and Qemu, libvirt, but there is no Kvm ports for MacOS afaik... And the container stops with the following message:
So I removed the following parameter:
--device=/dev/kvm
And then it fails while requiring to start with an option I'm not sure to understand:
Do you think about any solution ? Thank you !