Sujet : Re: Rpi considerations
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.sys.raspberry-piDate : 14. Jun 2024, 23:22:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4ifrr$32kuq$11@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Pan/0.158 (Avdiivka; )
On 14 Jun 2024 09:59:17 +0100 (BST), Theo wrote:
Pi OS images are designed to be relashed to a Pi SD card, so don't UEFI
which is probably the way KVM/QEMU wants to boot them.
Note the difference between KVM and QEMU: KVM is the virtualization
architecture built into the Linux kernel, which allows it to run virtual
machines of the same architecture type as the physical hardware it’s on,
using the virtualization capabilities of that same hardware.
QEMU is a collection of software emulators for a whole lot of different
architectures, regardless of the actual hardware you run it on. It offers
sufficient fidelity to the original hardware to support booting of OSes
that were specifically written for that hardware. But being software-
based, it will usually be slower than the actual hardware.
When QEMU is asked to emulate architecture X when the physical hardware is
that same architecture X, then you can ask it to bring in KVM to run the
emulated OS at something close to native hardware speed. Note this is not
something that happens automatically, if you don’t ask for it.