dhruvvyas90 / qemu-rpi-kernel

Qemu kernel for emulating Rpi on QEMU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libvirt + kernel-qemu-5.4.51

BlackSmith opened this issue · comments

Hi,
I try to use kernel-qemu-5.4.51 with libvirt (image Raspberry Pi OS (32-bit) Lite 2020-08-20 or 2020-05-27).
But the kernel does not find the root partition.
I have tried these kernel arguments:

root=PARTUUID=907af7d0-02 rootfstype=ext4
root=/dev/sda2 rootfstype=ext4
root=/dev/mmcblk0p2 rootfstype=ext4

The previous kernel (kernel-qemu-4.19.50-buster) works well with this Raspberry Pi image.
Unfortunately, this version has a problem with docker.io.

@BlackSmith : Qemu now supports native raspberry pi support with machine options raspi2 and raspi3 which doesn't require modified kernels. Can you take a look at native-emulation subfolder for steps and see if it solves your problem ? Thanks.

@dhruvvyas90 native emulation offers more performance right?

@bukyapavankumar : It should, yes.