I'v trying to spin a raspi2b vm with virt-manager on a ppc64le Talos 2 host. Unfortunately as soon as I click on finish I get the following error: Error starting installation: Did not find any UEFI binary path for arch 'armv7l' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/createvm.py", line 1878, in _finish_clicked installer.set_install_defaults(guest) File "/usr/share/virt-manager/virtinst/install/installer.py", line 479, in set_install_defaults guest.set_defaults(None) File "/usr/share/virt-manager/virtinst/guest.py", line 787, in set_defaults self._set_default_uefi() File "/usr/share/virt-manager/virtinst/guest.py", line 874, in _set_default_uefi self.enable_uefi() File "/usr/share/virt-manager/virtinst/guest.py", line 589, in enable_uefi path = self._lookup_default_uefi_path() File "/usr/share/virt-manager/virtinst/guest.py", line 857, in _lookup_default_uefi_path raise RuntimeError(_("Did not find any UEFI binary path for " RuntimeError: Did not find any UEFI binary path for arch 'armv7l' I'm using app-emulation/qemu 7.1.0 and app-emulation/libvirt-8.8.0
talos2 ~ # emerge --info Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/ppc64le/17.0/desktop/gnome/systemd, gcc-11.3.0, glibc-2.35-r8, 5.19.16-gentoo-dist ppc64le) ================================================================= System uname: Linux-5.19.16-gentoo-dist-ppc64le-POWER9,_altivec_supported-with-glibc2.35 KiB Mem: 65536124 total, 57810552 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Fri, 21 Oct 2022 15:30:01 +0000 Head commit of repository gentoo: 342f19d05dbea37cfde0fb0da2bcc257664b3a49 Timestamp of repository guru: Thu, 20 Oct 2022 06:32:27 +0000 Head commit of repository guru: 48faa569b813ed809ca07672cf68bb606bfb8ebf sh bash 5.1_p16-r1 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16-r1::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.10.8::gentoo dev-lang/rust: 1.64.0-r1::gentoo dev-util/cmake: 3.24.2::gentoo dev-util/meson: 0.62.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 251.4::gentoo sys-devel/autoconf: 2.13-r2::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 14.0.6-r1::gentoo sys-devel/llvm: 14.0.6-r2::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes darkbasic location: /var/db/repos/darkbasic masters: gentoo guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo pf4public location: /var/db/repos/pf4public masters: gentoo ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="@FREE @FREE unRAR fping" CBUILD="powerpc64le-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9" CHOST="powerpc64le-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -mcpu=power9 -mtune=power9" GENTOO_MIRRORS="https://gentoo.mirror.garr.it/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j32" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl alsa bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret mad mng mp3 mp4 mpeg nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppc64 ppds pulseaudio qt5 readline screencast sdl seccomp spell split-usr ssl startup-notification svg systemd test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vorbis vpx vulkan wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_PPC="altivec vsx vsx2 vsx3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="ppc ppc64 i386 x86_64 arm aarch64" QEMU_USER_TARGETS="ppc ppc64 i386 x86_64 arm aarch64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Is UEFI booting supported on that platform?
Not sure to be honest (but there is a /usr/share/qemu/edk2-arm-code.fd). Anyway it's virt-manager which configures the vm depending on the machine type, so it shouldn't error out anyway. If I set machine type to virt and check "Customize configuration before install" I have three options for Firmware: Default UEFI UEFI armv7l:/usr/share/qemu/edk2-arm-code.fd If at this point I change the machine type to raspi2b I still have the same three options, but unfortunately I get another error when clicking on "Begin installation": Unable to complete install: 'internal error: Required option 'modelName' is not set for PCI controller with index '1', model 'pcie-root-port' and modelName 'none''
Btw the goal is to use direct kernel boot.
(In reply to darkbasic from comment #3) > Not sure to be honest (but there is a /usr/share/qemu/edk2-arm-code.fd). > Anyway it's virt-manager which configures the vm depending on the machine > type, so it shouldn't error out anyway. > > If I set machine type to virt and check "Customize configuration before > install" I have three options for Firmware: > Default > UEFI > UEFI armv7l:/usr/share/qemu/edk2-arm-code.fd > > If at this point I change the machine type to raspi2b I still have the same > three options, but unfortunately I get another error when clicking on "Begin > installation": > > Unable to complete install: 'internal error: Required option 'modelName' is > not set for PCI controller with index '1', model 'pcie-root-port' and > modelName 'none'' This bit *seems* like an upstream issue, unsure about the previous backtrace.
Not sure if virt-manager is the correct upstream for this issue, but I've reported it to them as well: https://github.com/virt-manager/virt-manager/issues/449
Thanks! I imagine they'll have a better understanding than me of what should be happening. I am watching it.