NVMM + Qemu UEFI: Mem Assist Failed [gpa=0xfffffff0]
Aaron LI
aly at aaronly.me
Sat Jan 1 07:50:09 PST 2022
> On Jan 1, 2022, at 23:39, Aaron LI <aly at aaronly.me> wrote:
>
>
> Hmm, interesting…
>
> 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
Well, I reproduced the error and confirm it’s caused by UEFI boot. Will try to investigate and hopefully fix it …
Aaron
> 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 :)
>
> Cheers
> Aaron
>
>>> On Jan 1, 2022, at 22:43, Mario Marietto <marietto2008 at gmail.com> wrote:
>>>
>>
>> I'm so sorry,but it does not work even with this qemu version :
>>
>> pkg install qemu
>> pkg info qemu
>>
>> qemu-6.0.0_3
>> Name : qemu
>> Version : 6.0.0_3
>> Installed on : Sat Jan 1 15:19:36 2022 CET
>> Origin : emulators/qemu60
>> Architecture : dragonfly:6.2:x86:64
>> Prefix : /usr/local
>> Categories : emulators
>> Licenses : BSD2CLAUSE, MIT, GPLv2, LGPL21
>> Maintainer : aly at aaronly.me
>> WWW : https://www.qemu.org/
>> Comment : Generic and open source machine emulator and virtualizer
>> Options :
>> CAPSTONE : off
>> CURL : on VGA Blank mode
>> DEBUG : off
>> DOCS : on
>> GNUTLS : on
>> GTK3 : off
>> ISCSI : off
>> JPEG : on
>> NFS : on
>> NLS : on
>> OPENGL : on
>> PNG : on
>> SAMBA : off
>> SASL : on
>> SPICE : on
>> USBREDIR : on
>> VDE : on
>> X11 : on
>>
>> this is the vm that I tried to run :
>>
>> qemu-system-x86_64 \
>> -machine type=q35,accel=nvmm \
>> -smp cpus=4 -m 8G \
>> -drive if=pflash,format=raw,readonly=on,file=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_CODE-x86_64.fd \
>> -drive if=pflash,format=raw,file=/usr/local/share/uefi-edk2-qemu/QEMU_UEFI_VARS-x86_64.fd \
>> -drive file=/mnt/dragonfly-ufs/bhyve/impish-cuda-11-4-nvidia-470.img,if=none,id=disk0 \
>> -device virtio-blk-pci,drive=disk0 \
>> -netdev user,id=net0,hostfwd=tcp:127.0.0.1:6022-:22 \
>> -device virtio-net-pci,netdev=net0 \
>> -object rng-random,id=rng0,filename=/dev/urandom \
>> -device virtio-rng-pci,rng=rng0 \
>> -display curses \
>> -vga qxl \
>> -spice addr=127.0.0.1,port=5900,ipv4=on,disable-ticketing=on,seamless-migration=on
>>
>> and this is the error that I get :
>>
>> qemu-system-x86_64: NVMM: Mem Assist Failed [gpa=0xfffffff0]
>> qemu-system-x86_64: NVMM: Failed to execute a VCPU.
>> Abort trap (core dumped)
>> VGA BLANK MODE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20220101/56182729/attachment-0003.htm>
More information about the Users
mailing list