:: Re: [DNG] Which qemu version is shi…
Inizio della pagina
Delete this message
Reply to this message
Autore: Ralph Ronnquist
Data:  
To: dng
Oggetto: Re: [DNG] Which qemu version is shipped by default with devuan 3 ?
On Sun, Aug 13, 2023 at 04:03:00PM +0200, Mario Marietto wrote:
> Very thanks,I tried to apply your suggestions,as follows :
>
> /mnt/./monta-fisso
> sleep 2
>
> UEFICODE=/usr/share/AAVMF/AAVMF32_CODE.fd
> UEFIVARS=/usr/share/AAVMF/AAVMF32_VARS.fd
> CD1=/mnt/fisso/OS/ISO/BSD/FreeBSD-13.2-RELEASE-arm-armv7-GENERICSD.img
> CD2=/mnt/fisso/OS/ISO/Linux/bookworm_mini_armhf.iso
> DISK=/mnt/fisso/bhyve/img/FreeBSD/FreeBSD.img
>
> qemu-system-arm \
>    -enable-kvm -serial stdio \
>    -m 512 -M virt -cpu cortex-a15 \
>    -drive if=pflash,format=raw,unit=0,file=$UEFICODE \
>    -drive if=pflash,format=raw,unit=1,file=$UEFIVARS \
>    -cdrom $CD2 \
>    -drive file=$DISK,format=raw \
>    -device virtio-net,netdev=net0,mac="52:54:00:12:34:55" \
>    -netdev type=user,id=net0 \
>    -device virtio-gpu-pci \
>    -usb -device nec-usb-xhci \
>    -device usb-kbd -device usb-mouse \
>    -device vmware-svga,id=video0,vgamem_mb=16

>
> but the error is always there. Am I missing something ?


Well, I think the UEFI emulation requires write permission on both
$UEFICODE and $UEFIVARS. I solved that by copying them to my run
directory.

> ...
>
> --
> Mario.


regards,

Ralph.