<div dir="ltr"><div>Maybe you are interested to understand what's wrong with qemu and nvmm on DFLY and also that NVMM under NetBSD is working great. <br></div><div><br></div><div>ok. you can give a look at these videos recorded by me : <a href="https://drive.google.com/drive/folders/17IptbtId_GxBkuLcofNeY8HRSD2FMOOw">https://drive.google.com/drive/folders/17IptbtId_GxBkuLcofNeY8HRSD2FMOOw</a></div><div><br></div><div>and under NetBSD,these are the parameters which work good :</div><div><br></div><div>qemu-system-x86_64 --accel nvmm \<br>        -cpu max -smp cpus=4 -m 8G \<br>        -boot d \<br>        -object rng-random,filename=/dev/urandom,id=viornd0 \<br>        -drive file=/home/marietto/Downloads/vm/jammy.img,if=none,id=disk0 \<br>        -device virtio-rng-pci,rng=viornd0 \<br>        -netdev user,id=vioif0 -device virtio-net-pci,netdev=vioif0 \<br>        -audiodev oss,id=oss,<a href="http://out.dev">out.dev</a>=/dev/audio,<a href="http://in.dev">in.dev</a>=/dev/audio \<br>        -device ac97,audiodev=oss \<br>        -usb -device usb-mouse,bus=usb-bus.0 \<br>        -cdrom ubuntu-22.04-desktop-amd64.iso \<br>        -bios OVMFX64.fd \<br>        -display sdl,gl=on \</div><div><br></div><div>These parameters can boot the ISO image of Ubuntu fast without any problem,but they don't work on DFLY. Watching my 3 videos you will see what's broken. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 17 lug 2022 alle ore 09:17 Aaron LI <<a href="mailto:aly@aaronly.me">aly@aaronly.me</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Mario,<br>
<br>
Are you using a custom kernel that doesn’t have the tap(4) module builtin? Or you should load the tap(4) module upon startup by setting “if_tap_load=YES” in /etc/rc.conf<br>
<br>
Otherwise, the two sysctls in /etc/sysctl.conf should just work.<br>
<br>
> On Jul 16, 2022, at 21:09, Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br>
> <br>
> <br>
> Hello. Good day to everyone.<br>
> <br>
> What's the correct syntax to use to add these entries in /etc/sysctl.conf ? Both the parameters below aren't accepted : <br>
> <br>
> net.link.tap.up_on_open=1 <br>
> net.link.tap.up_on_open does not exist<br>
> <br>
> net.link.tap.user_open=1 <br>
> net.link.tap.user_open : does not exist<br>
> <br>
> or<br>
> <br>
> net.link.tap.up_on_open <br>
> = invalid syntax<br>
> <br>
> net.link.tap.user_open<br>
> = invalid syntax<br>
> <br>
> -- <br>
> Mario.<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Mario.<br></div>