ERROR: KVM acceleration not available (device file missing)
I install everything in Linux with Ubuntu 22.04.5 LTS. I followed this setup guideline: https://github.com/microsoft/OmniParser/tree/master/omnitool after running ./manage_vm.sh create it successfully built docker image: windows-local and run a docker container: omni-windows but after several minutes, docker container existed.
after checking the docker container log. There is error "ERROR: KVM acceleration not available (device file missing), this will cause a major loss of performance" below is the docker container log.
❯ Starting OmniParser Windows for Docker v0.00... ❯ For support visit https://github.com/microsoft/OmniParser ❯ CPU: AMD EPYC 7V13 64 Core | RAM: 197/217 GB | DISK: 171 GB (ext4) | KERNEL: 5.15.0-1061-azure...
❯ Extracting local ISO image... ❯ Detecting version from ISO image... ❯ Detected: Windows 11 Enterprise (Evaluation) ❯ Adding drivers to image... ❯ Adding OEM folder to image... ❯ Adding win11x64-enterprise-eval.xml for automatic installation... ❯ Building Windows 11 image... ❯ Creating a 20G growable disk image in raw format... ❯ ERROR: KVM acceleration not available (device file missing), this will cause a major loss of performance. ❯ ERROR: See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended).
same question
The docs state that you should be using Docker-Desktop - this however does not work on linux at least in my setup because on linux docker-desktop uses a custom docker context that does not have access to KVM. See here - https://docs.docker.com/desktop/setup/install/linux/ and here - https://github.com/dockur/windows/issues/151#issuecomment-2467379701
Instead - you should use dockerd and not docker-desktop - i.e. uninstall docker-desktop.