Document kvm

This commit is contained in:
Ciro Santilli
2018-03-09 03:57:42 +00:00
parent 03b1a720c4
commit cb08ab2e01

View File

@@ -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: