Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit 49ef855

Browse files
mayankkumar2Nick Vidal
authored and
Nick Vidal
committed
docs(kvm-backend): requirements for kvm backend
Signed-off-by: Mayank Kumar <mayank22oct@gmail.com>
1 parent c4d18f7 commit 49ef855

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/Installation/Requirements.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,28 @@ $ sudo chown root:root /lib/firmware/amd/amd_sev_fam19h_model0xh.sbin
6666

6767
```console
6868
# echo 'options kvm_amd sev=1' > /etc/modprobe.d/kvm-amd.conf
69+
```
70+
71+
## Requirements for KVM as a backend
72+
73+
KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko.
74+
75+
It's not always possible to have access to hardware with the support for Intel SGX or AMD SEV-SNP, hence, enarx supports KVM to facilitate the testing on more common hardware which have virtualization support. For the KVM support, the Intel VT and AMD-V features must be provided by the hardware.
76+
77+
KVM module is loaded by the Linux kernel automatically if the hardware supports the feature, hence, it's easy for anyone to set it up.
78+
79+
To check if the kvm module is loaded use the following command:
80+
```console
81+
lsmod | grep kvm
82+
```
83+
84+
If the module is loaded the following output should be expected
85+
```console
86+
kvm_intel 213 0
87+
kvm 10 1 kvm_intel
88+
```
89+
or
90+
```console
91+
kvm_amd 23213 0
92+
kvm 10 1 kvm_amd
6993
```

0 commit comments

Comments
 (0)