mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Document kvm
This commit is contained in:
19
README.adoc
19
README.adoc
@@ -835,7 +835,7 @@ continue
|
||||
|
||||
This is of least reliable setup as there might be other processes that use the given virtual address.
|
||||
|
||||
== Architecture
|
||||
== Architectures
|
||||
|
||||
The portability of the kernel and toolchains is amazing: change an option and most things magically work on completely different hardware.
|
||||
|
||||
@@ -856,6 +856,23 @@ Debug:
|
||||
|
||||
Known quirks of the supported architectures are documented in this section.
|
||||
|
||||
=== x86
|
||||
|
||||
You can make QEMU <<gem5-vs-qemu-performance,run faster>> by passing it the `-enable-kvm` option as in:
|
||||
|
||||
....
|
||||
./run - -enable-kvm
|
||||
....
|
||||
|
||||
This uses the link:https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine[KVM Linux kernel feature] of the host to run most instructions natively, and therefore.
|
||||
|
||||
There are several downsides to this however:
|
||||
|
||||
* only works for x86 guest
|
||||
* limits visibility, since more things are running natively
|
||||
|
||||
So for those reasons we don't turn it on by default.
|
||||
|
||||
=== arm
|
||||
|
||||
TODOs:
|
||||
|
||||
Reference in New Issue
Block a user