Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to add to dockerpi a better network stack...ERROR internal error: Unexpected enum value 0 for virDomainDeviceAddressType #34

Open
Marietto2008 opened this issue Jun 3, 2021 · 0 comments

Comments

@Marietto2008
Copy link

Marietto2008 commented Jun 3, 2021

Hello. I'm trying to provide to dockerpi a better network stack than this :

nic="-netdev user,id=net0,hostfwd=tcp::5022-:22 -device usb-net,netdev=net0"

because this kind of network has limitations,infact the network is not reachable from outside,because it does not assign a real IP number. So I would like to add inside the dockerpi container a code like this :

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

unfortunately I get this error :

Unexpected enum value 0 for virDomainDeviceAddressType

I've got the UEFI BIOS file from here :

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

anyway I think that it can be done.

@Marietto2008 Marietto2008 changed the title trying to add to dockerpi a better network stack... trying to add to dockerpi a better network stack...ERROR internal error: Unexpected enum value 0 for virDomainDeviceAddressType Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant