ERROR internal error: Unexpected enum value 0 for virDomainDeviceAddressType

Mario Marietto marietto2008 at gmail.com
Fri Jun 4 09:40:30 UTC 2021


Hello.

I want to emulate the raspberry pi 3 on my Jetson nano (aarch64) using
virt-install. I'm learning how to do that by reading heavily here :

https://github.com/dhruvvyas90/qemu-rpi-kernel

I tried to do something like this :

Code:

virt-install
--name pi \
--machine raspi3 \
--cpu arm1176 \
--memory 1024 \
--import \
--disk /root/Desktop/zi/Work/Android/Raspy/Debian/2019-09-26-raspbian-buster-lite.img,format=raw,bus=virtio
\
--network user,model=virtio \
--video vga \
--graphics spice \
--rng device=/dev/urandom,model=virtio \
--boot 'uefi=RPI_EFI.fd,dtb=bcm2710-rpi-3-b-plus.dtb,kernel=kernel8.img,kernel_args=root=/dev/vda2
rootwait panic=1 dwc_otg.fiq_fsm_enable=0'\
--events on_reboot=destroy


But I get this error :

*ERROR internal error: Unexpected enum value 0 for
virDomainDeviceAddressType *

I've got the UEFI BIOS file from here :


https://github.com/andreiw/Raspberry...ASE/RPI_EFI.fd
<https://github.com/andreiw/RaspberryPiPkg/blob/master/Binary/prebuilt/2019Jan16-GCC5/RELEASE/RPI_EFI.fd>


I'm not sure if it isn't the right efi file to use in this specific
configuration or if it is,but I'm passing the parameter badly. What do you
suggest me to do ?

-- 
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20210604/340f1090/attachment.htm>


More information about the virt-tools-list mailing list