diff options
author | Isaku Yamahata <isaku.yamahata@intel.com> | 2024-01-23 00:53:26 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-20 23:28:44 +0200 |
commit | 8a4e2742a54ed7e844f99fa56982da169accfb2b (patch) | |
tree | e05fc042f292bb0a1bc81b6229dc41f143982d0b /virt/kvm | |
parent | KVM: interrupt kvm_gmem_populate() on signals (diff) | |
download | linux-8a4e2742a54ed7e844f99fa56982da169accfb2b.tar.xz linux-8a4e2742a54ed7e844f99fa56982da169accfb2b.zip |
KVM: x86/tdp_mmu: Sprinkle __must_check
The TDP MMU function __tdp_mmu_set_spte_atomic uses a cmpxchg64 to replace
the SPTE value and returns -EBUSY on failure. The caller must check the
return value and retry. Add __must_check to it, as well as to two more
functions that forward the return value of __tdp_mmu_set_spte_atomic to
their caller.
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Message-Id: <8f7d5a1b241bf5351eaab828d1a1efe5c17699ca.1705965635.git.isaku.yamahata@intel.com>
Acked-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions