<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><br></div><div dir="ltr"><blockquote type="cite">On Jan 1, 2022, at 23:39, Aaron LI <aly@aaronly.me> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="ltr">Hmm, interesting…</div><div dir="ltr"><br></div><div dir="ltr">Now I suspect it’s UEFI related. Frankly, I never tried this case. And I’m planning to try it out recently. I’ll find time to give it a try</div></div></blockquote><div><br></div><div>Well, I reproduced the error and confirm it’s caused by UEFI boot. Will try to investigate and hopefully fix it …</div><div><br></div><div>Aaron</div><br><blockquote type="cite"><div dir="ltr"><div dir="ltr">Do you have any special needs to use UEFI? Otherwise, just use the default BIOS boot and it should work. Let me know whether it works :)</div><div dir="ltr"><br></div><div dir="ltr">Cheers </div><div dir="ltr">Aaron </div><div dir="ltr"><br><blockquote type="cite">On Jan 1, 2022, at 22:43, Mario Marietto <marietto2008@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">I'm so sorry,but it does not work even with this qemu version :</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">pkg install qemu</p><div>pkg info qemu</div><div><br></div>qemu-6.0.0_3<br>Name : qemu<br>Version : 6.0.0_3<br>Installed on : Sat Jan 1 15:19:36 2022 CET<br>Origin : emulators/qemu60<br>Architecture : dragonfly:6.2:x86:64<br>Prefix : /usr/local<br>Categories : emulators<br>Licenses : BSD2CLAUSE, MIT, GPLv2, LGPL21<br>Maintainer : <a href="mailto:aly@aaronly.me">aly@aaronly.me</a><br>WWW : <a href="https://www.qemu.org/">https://www.qemu.org/</a><br>Comment : Generic and open source machine emulator and virtualizer<br>Options :<br> CAPSTONE : off<br> CURL : on VGA Blank mode<br> DEBUG : off<br> DOCS : on<br> GNUTLS : on<br> GTK3 : off<br> ISCSI : off<br> JPEG : on<br> NFS : on<br> NLS : on<br> OPENGL : on<br> PNG : on<br> SAMBA : off<br> SASL : on<br> SPICE : on<br> USBREDIR : on<br> VDE : on<br> X11 : on<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">this is the vm that I tried to run :</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">qemu-system-x86_64 \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-machine type=q35,accel=nvmm \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-smp cpus=4 -m 8G \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-drive if=pflash,format=raw,readonly=on,file=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_CODE-x86_64.fd \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-drive if=pflash,format=raw,file=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_VARS-x86_64.fd \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-drive file=/mnt/dragonfly-ufs/bhyve/impish-cuda-11-4-nvidia-470.img,if=none,id=disk0 \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-device virtio-blk-pci,drive=disk0 \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-netdev user,id=net0,hostfwd=tcp:127.0.0.1:6022-:22 \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-device virtio-net-pci,netdev=net0 \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-object rng-random,id=rng0,filename=/dev/urandom \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-device virtio-rng-pci,rng=rng0 \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-display curses \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-vga qxl \</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">-spice addr=127.0.0.1,port=5900,ipv4=on,disable-ticketing=on,seamless-migration=on</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">and this is the error that I get :</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p></div><div>qemu-system-x86_64: NVMM: Mem Assist Failed [gpa=0xfffffff0]</div>qemu-system-x86_64: NVMM: Failed to execute a VCPU.<br><div>Abort trap (core dumped)</div><div>VGA BLANK MODE</div></div>
</div></blockquote></div></blockquote></body></html>