How to run the Raspberry Pi Os in a virtual machine with Qemu and Kvm - LinuxConfig.org

Although many operating system are available for the Raspberry Pi, the official one is the Raspberry Pi Os. The operating system is made to run for the arm architecture, and can be easily installed on the SD card which will be used as the main Raspberry Pi storage device. Sometimes we may want to perform some tests or try some applications without having a physical Raspberry Pi machine; in this tutorial we will see how we can create a virtual machine with the Raspberry Pi Os system using Qemu and Kvm (Kernel Virtual Machine).


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-run-the-raspberry-pi-os-in-a-virtual-machine-with-qemu-and-kvm

I get this error. What do?
“ERROR Host does not support any virtualization options for arch ‘armv6l’”

Hi Chainsman,
Did you install the “qemu-system-arm” package?

I have the same error. When I change it to armv7l, I have other problem:
ERROR XML error: No PCI buses available

Did you get anywhere with this? I’m having the same issue.