diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2026-03-08 11:19:25 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2026-03-08 11:19:25 +0100 |
| commit | 81359987b1c0870cbce669a77fdf0ceff4e4c6c9 (patch) | |
| tree | 041914f96167abbc9d3e8d3b7e568fb391bfc998 /faq | |
| parent | cae41746e755a35e251045111fd5efe2767913b9 (diff) | |
Add kvm faq
Diffstat (limited to 'faq')
| -rw-r--r-- | faq/kvm.mdwn | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/faq/kvm.mdwn b/faq/kvm.mdwn new file mode 100644 index 00000000..730a167c --- /dev/null +++ b/faq/kvm.mdwn @@ -0,0 +1,42 @@ +[[!meta copyright="Copyright © 2026 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!tag faq/running]] + +[[!meta title="failed to initialize kvm"]] + +Please always read README files. + +Always. + +Do you want to fix this warning, otherwise qemu will be very slow. + +Install kvm: + + $ sudo apt install qemu-kvm + +Make sure that you can access /dev/kvm . You can easily check with + + $ file -s /dev/kvm + +that you properly get "ERROR: cannot read `/dev/kvm' (Invalid argument)", +which means that "file" was properly able to open kvm, just not smart enough +to use it :) + +If you get "cannot open `/dev/kvm' (No such file or directory)", check in your +BIOS setup to make sure that accelerated virtualization is activated, and make +sure that the `kvm_intel` or `kvm_amd` module is loaded. + +If you get "no read permission", make sure you give your user permissions to use +kvm: + + $ sudo adduser $USER kvm + +and log-out and log-in again. |
