aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux
diff options
context:
space:
mode:
authorMara Mihali <maramihali@google.com>2021-05-17 15:16:06 +0000
committerDmitry Vyukov <dvyukov@google.com>2021-05-17 19:28:13 +0200
commitc3916a021568b4ac1f7e0fd29124d21becc983e5 (patch)
tree64bc633c21b2ae18b2e9542608e13dce20593c5d /docs/linux
parenta2eb125d4d18e3e21b7dea6e857d2ffa288218e0 (diff)
docs/linux: fixed deprecated command
Diffstat (limited to 'docs/linux')
-rw-r--r--docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
index 7a147dbf5..abc114a0f 100644
--- a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
+++ b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
@@ -6,7 +6,7 @@ In the instructions below, the `$VAR` notation (e.g. `$GCC`, `$KERNEL`, etc.) is
## GCC
-While you may use GCC that is available from your distro, it's preferable to get the lastest GCC from [this](/docs/syzbot.md#crash-does-not-reproduce) list. Download and unpack into `$GCC`, and you should have GCC binaries in `$GCC/bin/`
+If your distro's GCC is older, it's preferable to get the lastest GCC from [this](/docs/syzbot.md#crash-does-not-reproduce) list. Download and unpack into `$GCC`, and you should have GCC binaries in `$GCC/bin/`
``` bash
$ ls $GCC/bin/
@@ -29,9 +29,11 @@ Generate default configs:
``` bash
cd $KERNEL
make CC="$GCC/bin/gcc" defconfig
-make CC="$GCC/bin/gcc" kvmconfig
+make CC="$GCC/bin/gcc" kvm_guest.config
```
+Note: If you are using your distro's GCC, you don't need to set `CC` in the `make` command.
+
Enable kernel config options required for syzkaller as described [here](kernel_configs.md).
It's not required to enable all of them, but at the very least you need: