• Qian Cai's avatar
    kvm/svm: disable KCSAN for svm_vcpu_run() · b95273f1
    Qian Cai authored
    For some reasons, running a simple qemu-kvm command with KCSAN will
    reset AMD hosts. It turns out svm_vcpu_run() could not be instrumented.
    Disable it for now.
     # /usr/libexec/qemu-kvm -name ubuntu-18.04-server-cloudimg -cpu host
    	-smp 2 -m 2G -hda ubuntu-18.04-server-cloudimg.qcow2
    === console output ===
    Kernel 5.6.0-next-20200408+ on an x86_64
    hp-dl385g10-05 login:
    <...host reset...>
    HPE ProLiant System BIOS A40 v1.20 (03/09/2018)
    (C) Copyright 1982-2018 Hewlett Packard Enterprise Development LP
    Early system initialization, please wait...
    Signed-off-by: default avatarQian Cai <cai@lca.pw>
    Message-Id: <20200415153709.1559-1-cai@lca.pw>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
svm.c 108 KB