On Tue, 3 Sept 2024 at 16:25, Mario Marietto <marietto2...@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