diff options
author | 2022-02-02 00:49:45 +0000 | |
---|---|---|
committer | 2022-04-13 13:37:48 -0400 | |
commit | 5d6c7de6446e9ab3fb41d6f7d82770e50998f3de (patch) | |
tree | e261522c73654e70f39b57475c699d44855567b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Use __try_cmpxchg_user() to emulate atomic accesses (diff) | |
download | linux-dev-5d6c7de6446e9ab3fb41d6f7d82770e50998f3de.tar.xz linux-dev-5d6c7de6446e9ab3fb41d6f7d82770e50998f3de.zip |
KVM: x86: Bail to userspace if emulation of atomic user access faults
Exit to userspace when emulating an atomic guest access if the CMPXCHG on
the userspace address faults. Emulating the access as a write and thus
likely treating it as emulated MMIO is wrong, as KVM has already
confirmed there is a valid, writable memslot.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220202004945.2540433-6-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions