qemu-rpi-kernel icon indicating copy to clipboard operation
qemu-rpi-kernel copied to clipboard

libvirt + kernel-qemu-5.4.51

Open BlackSmith opened this issue 4 years ago • 3 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 avatar Sep 10 '20 12:09 BlackSmith

@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 avatar Oct 08 '20 22:10 dhruvvyas90

@dhruvvyas90 native emulation offers more performance right?

bukyapavankumar avatar Oct 15 '20 06:10 bukyapavankumar

@bukyapavankumar : It should, yes.

dhruvvyas90 avatar Oct 15 '20 14:10 dhruvvyas90