initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
39
joplin notion extension/manjaro/qemu.md
Normal file
39
joplin notion extension/manjaro/qemu.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
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`
|
||||
|
||||
|
||||
Loading…
Reference in a new issue