Documentation: Add note about /dev/kvm to BuildInstructions.md

This commit is contained in:
Andreas Kling 2020-05-06 17:11:59 +02:00
parent 025cdfdce8
commit eabb7b563a
Notes: sideshowbarker 2024-07-19 06:56:03 +09:00

View File

@ -70,6 +70,8 @@ Once you've built the toolchain, go into the `Kernel/` directory, then run
Note that the `anon` user is able to become `root` without password by default, as a development convenience.
To prevent this, remove `anon` from the `wheel` group and he will no longer be able to run `/bin/su`.
On Linux, QEMU is significantly faster if it's able to use KVM. The run script will automatically enable KVM if `/dev/kvm` exists and is readable+writable by the current user.
Bare curious users may even consider sourcing suitable hardware to [install Serenity on a physical PC.](https://github.com/SerenityOS/serenity/blob/master/INSTALL.md)
Later on, when you `git pull` to get the latest changes, there's no need to rebuild the toolchain. You can simply rerun **./makeall.sh** in the `Kernel/` directory and you'll be good to **./run** again.