You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1ef6b78c04 | 4 years ago | |
---|---|---|
README.org | 4 years ago |
README.org
- Set up IOMMU
- Set up VM
- Installation
- Starting services
- Start default network
- Setup Guest OS
- Launch virt-manager, and start creating guest. On final step, check Customize before install.
- > In the Overview section, set Chipset to Q35 and firmware to UEFI.
- > In the CPUs section, change CPU model to host-passthrough. You need to type it manually.
- According to Arch Wiki, this makes sure that the CPU is detected properly. Without it, some applications may complain about your CPU being of an unknown model.
- Now, you can Begin Installation.
Set up IOMMU
Enable IOMMU
Load /etc/default/grub and append intel_iommu=on or amd_iommu=on to GRUB_CMDLINE_LINUX_DEFAULT. Also, iommu=pt.
Update grub configuration.
grub-mkconfig -o /boot/grub/grub.cfg
Verify IOMMU is enabled successfully
You should see IOMMU enabled in output.
dmesg | grep -i -e DMAR -e IOMMU | grep enabled
Set up VM
Installation
Install the required packages.
sudo pacman -S qemu libvirt edk2-ovmf virt-manager dnsmasq ebtables iptables
Starting services
Enable and start libvirt service
sudo systemctl enable libvirtd
sudo systemctl start libvirtd
Start default network
This may not be needed. If default network isn't started by default for you, start the network manually.
sudo virsh net-start default
sudo virsh net-autostart default