Thanks, but I found issue in your guide :)
We need mount drive as VirtIO, so we need to specify `root=/dev/vda` and
`-drive file=$HOME/linux/qemu/image/bookworm.img,format=raw,if=virtio`
without it I had kernel panic
Thanks,
David
On 2/28/26 11:53, Siddh Raman Pant wrote:
On Sat, 28 Feb 2026 12:42:25 +0530, David Lishchyshen wrote:
How you recommend to test kernel? I use Arch and found 3 ways:
* Native run, replace existing kernel
* Qemu with full Linux distribution, install Ubuntu in qemu and
replace kernel in it
* Minimal Qemu, need to create initramfs with busybox and connect to
Qemu with your kernel, but I even couldn't see printk log from e1000e
in this way
Option 3 is the best way since you can't keep rebooting your machine
when you reproduce crashes.
I did a writeup about it, it might help you. Take a look here:
https://bodha.siddh.me/posts/2023/10/14/kernel_qemu_setup/
Thanks,
Siddh
_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies