diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2020-06-04 21:01:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-04 21:01:10 +0200 |
| commit | 241440828e62f953f186a3a74e648b1200c8e090 (patch) | |
| tree | 7411992db23102919dc24af5f54e54ae216e3afe /docs | |
| parent | 6720fdefa085931a94cd81c6e097a59af54d362d (diff) | |
Update setup.md
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/linux/setup.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/linux/setup.md b/docs/linux/setup.md index 80fbf9e7a..bfb21c187 100644 --- a/docs/linux/setup.md +++ b/docs/linux/setup.md @@ -102,3 +102,18 @@ To use QEMU syzkaller VMs you have to install QEMU on your host system, see [QEM The [create-image.sh](/tools/create-image.sh) script can be used to create a suitable Linux image. See the links at the top of the document for instructions on setting up syzkaller for QEMU, Android and some other types of VMs. + +### Troubleshooting + +* QEMU requires root for `-enable-kvm`. + + Solution: add your user to the `kvm` group (`sudo usermod -a -G kvm` and relogin). + +* QEMU crashes with + + ``` + qemu-system-x86_64: error: failed to set MSR 0x48b to 0x159ff00000000 + qemu-system-x86_64: /build/qemu-EmNSP4/qemu-4.2/target/i386/kvm.c:2947: kvm_put_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed. + ``` + + Solution: remove `-cpu host,migratable=off` from QEMU command line. Easiest way to do that was to set `qemu_args` to `-enable-kvm` in the `syz-manager` config file. |
