Skip to content

Commit ad0d1f8

Browse files
committed
docs: hide distractive instructions about KVM
Now the QEMU wrapper script should automatically handle several cases. And in our experiments, performance boost brought by KVM is negligible.
1 parent 9dcbde5 commit ad0d1f8

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

docs/measure-kernel-mcdc.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,25 @@ sudo apt-get install git bc libncurses-dev wget busybox \
2626
sudo apt-get install qemu-system-x86
2727
```
2828

29-
Set up KVM
29+
<!--
3030
31-
```shell
32-
sudo chmod 666 /dev/kvm
33-
```
31+
(Optional) Set up KVM for better performance
32+
33+
1. If `/dev/kvm` exists on host...
34+
35+
```shell
36+
sudo usermod -aG kvm $USER
37+
newgrp kvm
38+
```
39+
40+
Even if we don't set this up, it should still work fine as now our QEMU
41+
wrapper script will automatically downgrade to TCG mode.
42+
43+
2. If `/dev/kvm` doesn't exist on host...
44+
45+
No action is required. QEMU will run in TCG mode.
46+
47+
-->
3448

3549
## 2. Pull the source code and apply patches
3650

0 commit comments

Comments
 (0)