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: Peter Maydell
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 16:32:02 +0100

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



reply via email to

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