How to Install
-
2. Pre‑Installation Checks
Check if your CPU supports hardware virtualization:
egrep -c '(vmx|svm)' /proc/cpuinfo
If Output > 0 your processor supports hardware virtualization.
(Make sure virtualization is enabled in BIOS.)
If output is zero, you can still use QEMU but without hardware acceleration. -
3. Install QEMU and Dependencies from Portage
Use Gentoo repositories to install QEMU and virtualization tools:
sudo emerge --sync
sudo emerge app-emulation/qemu app-emulation/qemu-arch-extra
Install libvirt, virt-manager, and supporting tools:
sudo emerge app-emulation/libvirt app-emulation/virt-manager sys-apps/bridge-utils sys-boot/edk2-ovmf
-
4. Enable and Start Libvirt Service
Start the libvirt daemon and enable it at boot (OpenRC example):
s
Contents