[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kvm on arm64



On Fri, Aug 11, 2023 at 11:31:09AM +0200, Emanuele Rocca wrote:
> > But it breaks if I add -enable-kvm.  Any hints?
> 
> Nothing wrong with your command, I've tried the exact same thing (with
> -enable-kvm) and it works fine on my M1.

Thanks a bunch for confirming on other hardware, that makes me feel
better!

> - What happens if you try with: -m 1G -smp 2, any differences?

No change.

> - What does ls -l /dev/kvm say? Is your user in the kvm group?

All looks good:
$ ls -la /dev/kvm
crw-rw---- 1 root kvm 10, 232 Aug 10 22:30 /dev/kvm
$ groups
ross adm tty disk dialout sudo audio video plugdev games users input kvm netdev libvirt systemd-journal libvirt-qemu

> - Anything interesting in dmesg?

Nothing at all. :(

> - What if you add -serial file:serial.log ? Anything in serial.log?

No, even if I modify the image to enable early printk.  Since I'm not
seeing the UEFI firmware banner, I think it's failing before the kernel
starts.  Here's where my arm ignorance steps in:

- Is it possible my hardware is lacking virt support?
- Could my hardware not support UEFI even with qemu providing firmware?

Ross


Reply to: