Skip to content

Commit

Permalink
Documentation: KVM: fix warning in "make htmldocs"
Browse files Browse the repository at this point in the history
The warning

 Documentation/virt/kvm/locking.rst:31: ERROR: Unexpected indentation.

is caused by incorrectly treating a line as the continuation of a paragraph,
rather than as the first line in a bullet list.

Fixed: 44d1745 ("KVM: Use dedicated mutex to protect kvm_usage_count to avoid deadlock")
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
bonzini committed Sep 27, 2024
1 parent 3f8df62 commit efbc6bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/virt/kvm/locking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The acquisition orders for mutexes are as follows:
must not take either kvm->slots_lock or kvm->slots_arch_lock.

cpus_read_lock() vs kvm_lock:

- Taking cpus_read_lock() outside of kvm_lock is problematic, despite that
being the official ordering, as it is quite easy to unknowingly trigger
cpus_read_lock() while holding kvm_lock. Use caution when walking vm_list,
Expand Down

0 comments on commit efbc6bd

Please sign in to comment.