qemu-discuss
[Top][All Lists]
Advanced

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

Re: No 'PCI' bus found for device 'ivshmem-plain'


From: Sanjeev Kumar
Subject: Re: No 'PCI' bus found for device 'ivshmem-plain'
Date: Wed, 20 Mar 2024 18:36:20 +0530

Hi Peter,
Thanks for your detailed review.
ifs.bin is our custom build and the linux kernel is booting fine with this file.
"this board doesn't have a PCI bus" - can you please suggest some board which can support PCI bus? 
if possible can you please reframe the command line which i shared with you with the supported board that supports PCI bus ?

On Wed, Mar 20, 2024 at 3:21 PM Peter Maydell <peter.maydell@linaro.org> wrote:
On Wed, 20 Mar 2024 at 06:40, Sanjeev Kumar <reachsanjeev7@gmail.com> wrote:
>
> Hi,
> Sorry for incomplete command.
> here is the complete command line.
>
> qemu-system-aarch64 -machine vexpress-a15 -cpu cortex-a57 -smp 4 -m 10G -kernel ifs.bin -drive file=disk-qemu.vmdk,if=none,id=drv0 -device virtio-blk-device,drive=drv0 -netdev tap,id=mynet0,ifname=tap0,script=no,downscript=no -device virtio-net-device,netdev=mynet0,mac=52:55:00:d1:55:01 -device virtio-rng-device -device ivshmem-plain,memdev=hostmem -object memory-backend-file,size=1M,share=on,mem-path=/dev/shm/ivshmem,id=hostmem -nographic

Thanks. This command line is very confused. It is trying to use
the "vexpress-a15" board model with a Cortex-A57. As the
board name suggests, vexpress-a15 only works with a Cortex-A15.
This board also cannot support the 10G of memory you are trying
to use with it. Finally, the reason for the error message is that
this board doesn't have a PCI bus, so there is no way to plug in
the ivshmem PCI device you are trying to create.

Also, "ifs.bin" is an odd name for a kernel: is this really
a file that expects to be booted the way a Linux kernel is booted?

If you want a board model that can handle 64-bit CPUs, lots
of memory and PCI devices, I would suggest looking at the
"virt" board. You'll need to make sure your kernel is
built for that board.

thanks
-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]