[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No 'PCI' bus found for device 'ivshmem-plain'
From: |
Peter Maydell |
Subject: |
Re: No 'PCI' bus found for device 'ivshmem-plain' |
Date: |
Wed, 20 Mar 2024 09:51:31 +0000 |
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
- No 'PCI' bus found for device 'ivshmem-plain', Sanjeev Kumar, 2024/03/19
- Re: No 'PCI' bus found for device 'ivshmem-plain', Peter Maydell, 2024/03/19
- Re: No 'PCI' bus found for device 'ivshmem-plain', Sanjeev Kumar, 2024/03/20
- Re: No 'PCI' bus found for device 'ivshmem-plain',
Peter Maydell <=
- Re: No 'PCI' bus found for device 'ivshmem-plain', Sanjeev Kumar, 2024/03/20
- Re: No 'PCI' bus found for device 'ivshmem-plain', Peter Maydell, 2024/03/20
- Re: No 'PCI' bus found for device 'ivshmem-plain', Sanjeev Kumar, 2024/03/21
- Re: No 'PCI' bus found for device 'ivshmem-plain', Sanjeev Kumar, 2024/03/21
- Re: No 'PCI' bus found for device 'ivshmem-plain', Sanjeev Kumar, 2024/03/21
- Re: No 'PCI' bus found for device 'ivshmem-plain', Peter Maydell, 2024/03/21