qemu-discuss
[Top][All Lists]
Advanced

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

Re: How to solve: 'Please append a correct "root=" boot option' ?


From: Thomas Huth
Subject: Re: How to solve: 'Please append a correct "root=" boot option' ?
Date: Fri, 21 Apr 2023 16:40:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 20/04/2023 13.53, Freitas GDH wrote:
Thank you Frank and Thomas !!

Before use if=none I've tried:

*-drive file=1.squashfs,if=virtio,format=raw,id=foo -device virtio-blk-device,drive=foo * /qemu-system-mipsel: -device virtio-blk-device,drive-foo: No 'virtio-bus' bus found for device 'virtio-blk-device'/
and
*-drive file=1.squashfs,if=virtio,format=raw*
/qemu-system-mipsel: -drive file=1.squashfs,if=virtio,format=raw: No 'PCI' bus found for device 'virtio-blk-pci'/

After watch the Thomas video, I ran:
*-blockdev file,node-name=f1,filename=/home/fenix/files/1/1.squashfs \
-blockdev raw,node-name=q1,file=f1 \
-device virtio-blk,drive=q1 \*
/qemu-system-mipsel: -device virtio-blk,drive=q1: No 'PCI' bus found for device 'virtio-blk-pci'/

That means that your machine does not support PCI, so you cannot use the normal virtio devices.

Do you have the source code of that machine available somewhere? Looking at that code is maybe the easiest way to find out which devices it supports...

 Thomas




reply via email to

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