About-virtualization-simple: Difference between revisions
m (create page) |
m (add more headings to fill) |
||
Line 1: | Line 1: | ||
== What is virtualization == | |||
== Types of virtualization == | |||
== Does my system/device support virtualization? == | |||
== Setup walkthrough == | == Setup walkthrough == | ||
Line 9: | Line 15: | ||
# ls -l /dev/kvm | # ls -l /dev/kvm | ||
crw-rw- | crw-rw---- 1 root kvm 10, 232 Sep 21 03:47 /dev/kvm | ||
</pre> | </pre> | ||
Revision as of 16:33, 21 September 2025
What is virtualization
Types of virtualization
Does my system/device support virtualization?
Setup walkthrough
WIP
Basic check/setup prep your system for virtualization usage.
v3.21.x-v3.22.x
Manually fixing/enabling system level kvm modules (as root)
# ls -l /dev/kvm crw-rw---- 1 root kvm 10, 232 Sep 21 03:47 /dev/kvm
This means your devices' virtualization feature is enabled in bios.
Tip: - For further setup to work correctly, its assumed that Alpine Linux installed in done for version between v3.21.x and v3.22.x
Lets find your CPU brand/type.
# cat /proc/cpuinfo | grep -E 'model name|Processor' model name : Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz ...
Cpu is INTEL.
Lets load kvm module.
# modprobe kvm
Lets check current kvm modules already loaded.
# lsmod | grep kvm kvm 1392640 0 irqbypass 12288 1 kvm
If this does not show/load CPU specific kernel modules yet.
Lets load it.
# modprobe kvm_intel # for INTEL cpu
# modprobe kvm_amd # for AMD cpu
# lsmod | grep kvm kvm_intel 409600 3 kvm 1392640 2 kvm_intel irqbypass 12288 1 kvm
CPU specific kernel modules are now loaded.
Using virtualization
- QEMU