ERROR internal error: Unexpected enum value 0 for virDomainDeviceAddressType
Cole Robinson
crobinso at redhat.com
Tue Jun 8 00:29:57 UTC 2021
On 6/4/21 5:40 AM, Mario Marietto wrote:
> 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
> <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 ?
That error is coming from libvirt so probably not related to EFI in any
way. What libvirt version are you using? Those docs suggest libvirt
5.0.0 or later. Pastebin full virt-install `--debug` output might help
- Cole
- Cole
More information about the virt-tools-list
mailing list