qemu-discuss
[Top][All Lists]
Advanced

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

Re: Error : init: partition(s) not found in /sys, waiting for their ueve


From: Mario Marietto
Subject: Re: Error : init: partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p2, mmcblk0p3 while trying to emulate Android 14 on Ubuntu 24.04 X64 bit using qemu-system-aarch64.
Date: Tue, 3 Sep 2024 17:45:51 +0200

Nope,I don't need 9pfs. I'm trying to understand what parameter I had enabled when it worked. Is there a parameter to pass to enable the support for "virtio-blk-pci" ? (as I said,I'm on the Jetson Nano now). Is virtio-blk-pci enabled by default ? If I should not enable anything related to that,the last chance I have is to try qemu 5.1.0 instead of 5.0.

On Tue, Sep 3, 2024 at 5:32 PM Peter Maydell <peter.maydell@linaro.org> wrote:
On Tue, 3 Sept 2024 at 16:25, Mario Marietto <marietto2008@gmail.com> wrote:
>
> Hello.
>
> Actually I'm using my Jetson Nano and I'm trying to emulate Android 10 by antmicro. I'm trying to use the same parameters used several years ago,when it worked. What I want to try now is to enable virtio-blk-pci on qemu. Probably in addition to using qemu 5.0,I had configured qemu with virtio-blk-pci enabled,because I used these parameters and they worked great :
>
> -drive index=0,if=none,id=system,file=/home/aresuser/Desktop/antmicro/aosp-img/system-rw.img \
>         -device virtio-blk-pci,drive=system \
>         -drive index=1,if=none,id=vendor,file=/home/aresuser/Desktop/antmicro/aosp-img/vendor-rw.img \
>         -device virtio-blk-pci,drive=vendor \
>         -drive index=2,if=none,id=userdata,file=/home/aresuser/Desktop/antmicro/aosp-img/userdata.img \
>         -device virtio-blk-pci,drive=userdata \
>
> Can someone tell me how to enable the "VirtFS support" in qemu 5.0 ? because at the moment it is configured to "no" :

VirtFS is 9pfs, not virtio, so unless you really want 9pfs
you can ignore it. If you do need it, the requirements as
of current QEMU are:
 * Linux or macos host
 * libattr-devel (for Linux)
and I suspect they'll be similar for older QEMU.

Passing configure "--enable-virtfs" should make it error out
(possibly with a helpful error message) if it can't enable the
feature.

-- PMM


--
Mario.

reply via email to

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