Dear QEMU folks,

I would like to boot a Linux kernel image several times, and log the output – case in point [1] it would be booting with `initcall_debug`, and look at how long `acpi_init()` took to execute.

I came up with

qemu-system-x86_64 -enable-kvm -smp cpus=2 -m 1G -nographic -kernel /boot/vmlinuz-6.11.0-rc3-00007-gd74da846046a -append "initcall_debug console=ttyS0"

but it hangs, as no bootable image is found. There are probably a lot of ways to reboot it (initrd, wrapper script, …). What is the “easiest” way?


Kind regards,

Paul


[1]: https://lore.kernel.org/linux-acpi/20240808222138.51-1-colin.k...@intel.com/

Reply via email to