04.01.2024 19:25, Michael Tokarev wrote:
...
this archive contains kernel+initrd.  I run it this way:

qemu-system-arm -append root=LABEL=debvm -nographic -machine type=virt \
  -drive media=disk,format=raw,file=vmlinuz,if=virtio,snapshot=on \
  -no-user-config -m 1G -kernel vmlinuz -initrd initrd.img

This is actually even more fishy.

The reproducer needs -cpu max to "work." Without -cpu max, it
fails to recognize virtio pci devices in both cases - in 8.2.0
with or without the commit in question (b8f7959f28c4f36496).
Only with -cpu max it works after reverting b8f7959f28c.

Additional kernel message in case when it doesn't work:

[    1.372841] pci-host-generic 4010000000.pcie: \
  can't claim ECAM area [mem 0x10000000-0x1fffffff]: \
  address conflict with pcie@10000000 [mem 0x10000000-0x3efeffff]

which isn't generated in case everything's ok.

/mjt

Reply via email to