Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:manual:virtual_machine_manager [2022/03/09 12:52]
i3_relativism [Enable kernel modules for virtualization]
en:manual:virtual_machine_manager [2023/10/24 01:08]
throgh [Virtual Machine Manager Installing]
Line 1: Line 1:
 ====== Install a virtual machine manager ====== ====== Install a virtual machine manager ======
  
-Your host may be Hyperbola GNU/Linux-libre x86_64 architecture, for example, but with enough memory and processing power you could run [[https://trisquel.info|trisquel]] and [[https://dragora.org/en/index.html|Dragora]] of the same time, on the same machine.+Your host may be Hyperbola GNU/Linux-libre x86_64 architecture, for example, but with enough memory and processing power you could run [[https://trisquel.info|Trisquel]] and [[https://dragora.org/en/index.html|Dragora]] of the same time, on the same machine.
  
 ===== What is a virtual machine? ===== ===== What is a virtual machine? =====
Line 13: Line 13:
 [[https://wiki.qemu.org/Main_Page|qemu]] works through the command line, but there are also GUIs. [[https://wiki.qemu.org/Main_Page|qemu]] works through the command line, but there are also GUIs.
  
-In this guide we explain how to install [[https://virt-manager.org/|Virtual Machine Manager]] which is very complete when virtualizing operating systems.+In this guide we explain how to install [[https://qtemu.org/|QtEmu]] which offers a simple nevertheless quite effective graphical interface for managing virtual machines.
  
-====== Virtual Machine Manager installation ======+====== QtEmu installation ======
  
 ===== Check if your PC supports virtualization ===== ===== Check if your PC supports virtualization =====
Line 31: Line 31:
 If your computer supports virtualization, you should see the output as <color #620BB9/#EEDDFF>Virtualization: VT-x</color> or <color #620BB9/#EEDDFF>Virtualization: AMD-V</color>, otherwise your computer is not capable of virtualizing. If your computer supports virtualization, you should see the output as <color #620BB9/#EEDDFF>Virtualization: VT-x</color> or <color #620BB9/#EEDDFF>Virtualization: AMD-V</color>, otherwise your computer is not capable of virtualizing.
  
-===== Virtual Machine Manager Installing =====+===== QtEmu Installing =====
  
 <code bash> <code bash>
Line 38: Line 38:
  
 <code bash> <code bash>
-# pacman -S virt-manager qemu vde2 dnsmasq bridge-utils libvirt+# pacman -S qtemu
 </code> </code>
  
 <code bash> <code bash>
-gpasswd -<your-user> kvm+usermod -aG kvm <your-user>
 </code> </code>
  
-<code bash> 
-# gpasswd -a <your-user> libvirt 
-</code> 
- 
- 
-===== Check kvm group ===== 
- 
-<code bash> 
-# grep -E 'group="kvm"|group="78"' /etc/libvirt/qemu.conf 
-</code> 
- 
-Check if there is <color #620BB9/#EEDDFF>group="kvm"</color> or <color #620BB9/#EEDDFF>group="78"</color> 
  
 ===== Enable kernel modules for virtualization ===== ===== Enable kernel modules for virtualization =====
Line 64: Line 52:
 kvm_amd module (AMD processors) kvm_amd module (AMD processors)
 <code bash># modprobe kvm_amd</code> <code bash># modprobe kvm_amd</code>
-===== Verify that the virtual machine is configured correctly ===== 
- 
-<code bash> 
-$ virt-host-validate 
-</code> 
- 
-===== Services ===== 
- 
-Virt-Manager relies on <color #620BB9/#EEDDFF>libvirtd</color> services to function. 
- 
-Here we explain how to start these service: 
- 
-==== Start libvirtd ==== 
- 
-<code bash> 
-# rc-service libvirtd start 
-</code> 
- 
-==== Add libvirtd for default ==== 
- 
-<code bash> 
-# rc-update add libvirtd default 
-</code> 
- 
-==== Remove Service ==== 
- 
-If you want to remove the service and start 
-only when you want, run: 
- 
-<code bash> 
-# rc-update del libvirtd default 
-</code> 
  
 ===== Enable nested virtualization in KVM ===== ===== Enable nested virtualization in KVM =====
Line 154: Line 110:
 # nano -w /etc/modprobe.d/kvm.conf # nano -w /etc/modprobe.d/kvm.conf
 ---------------------------------- ----------------------------------
-options kvm_intel nested=1+options kvm_amd nested=1
 </code> </code>