joplin-notes/joplin notion extension/manjaro/qemu.md
2026-11-04 00:33:23 +05:30

39 lines
No EOL
1.2 KiB
Markdown

qemu
From version 7.0.0 of qemu it is split into 3 ie qemu-base,qemu-desktop and qemu-full. Install qemu-desktop for better graphics support in VM.
- Installation
To check if virtualization is supported
`LC_ALL=C lscpu | grep Virtualization`
*Virtualization: AMD-V*
If this is output then yes it's supported
 
`egrep -c '(vmx|svm)' /proc/cpuinfo`
To check number of cores. If the output is 0 then virtualization is needed to be enabled from bios
 
Install these packages
`pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat `
for extra install this
`pacman -S libguestfs`
- Starting
To start **libvirtd** service
`sudo systemctl start libvirtd`
To add it in default runtime
`sudo systemctl enable libvirtd`
- Editing libvirtd.conf file
`sudo nano /etc/libvirt/libvirtd.conf`
Then make sure that
`unix_sock_group = "libvirt"`
`unix_sock_ro_perms = "0777"`
`unix_sock_rw_perms = "0770"`
- Adding ourself to libvert group
`sudo usermod -aG libvirt hpm`
Then restart libvirtd
`sudo systemctl restart libvirtd`
- If issue is not able t install logd and enable it by
`systemctl enable virtlogd`
`systemctl start virtlogd`