Just work please.
parent
1ef6b78c04
commit
bdbce10faa
@ -1,36 +1,36 @@
|
|||||||
* Set up IOMMU
|
* Set up IOMMU
|
||||||
** Enable IOMMU
|
** Enable IOMMU
|
||||||
Load /etc/default/grub and append *intel_iommu=on* or *amd_iommu=on* to GRUB_CMDLINE_LINUX_DEFAULT. Also, *iommu=pt*. \\
|
***** Load /etc/default/grub and append "intel_iommu=on" or "amd_iommu=on" to GRUB_CMDLINE_LINUX_DEFAULT. Also, "iommu=pt".
|
||||||
Update grub configuration.
|
***** Update grub configuration.
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Verify IOMMU is enabled successfully
|
** Verify IOMMU is enabled successfully
|
||||||
You should see *IOMMU enabled* in output.
|
***** You should see "IOMMU enabled" in output.
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
dmesg | grep -i -e DMAR -e IOMMU | grep enabled
|
dmesg | grep -i -e DMAR -e IOMMU | grep enabled
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Set up VM
|
* Set up VM
|
||||||
** Installation
|
** Installation
|
||||||
Install the required packages.
|
***** Install the required packages.
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
sudo pacman -S qemu libvirt edk2-ovmf virt-manager dnsmasq ebtables iptables
|
sudo pacman -S qemu libvirt edk2-ovmf virt-manager dnsmasq ebtables iptables
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Starting services
|
** Starting services
|
||||||
Enable and start libvirt service
|
***** Enable and start libvirt service
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
sudo systemctl enable libvirtd
|
sudo systemctl enable libvirtd
|
||||||
sudo systemctl start libvirtd
|
sudo systemctl start libvirtd
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Start default network
|
** Start default network
|
||||||
This may not be needed. If default network isn't started by default for you, start the network manually.
|
***** This may not be needed. If default network isn't started by default for you, start the network manually.
|
||||||
#+BEGIN_SRC bash
|
#+BEGIN_SRC bash
|
||||||
sudo virsh net-start default
|
sudo virsh net-start default
|
||||||
sudo virsh net-autostart default
|
sudo virsh net-autostart default
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Setup Guest OS
|
** Setup Guest OS
|
||||||
***** Launch virt-manager, and start creating guest. On final step, check *Customize before install*.
|
***** 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 "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.
|
***** > 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.
|
***** 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*.
|
***** Now, you can *Begin Installation*.
|
||||||
|
Loading…
Reference in New Issue