]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Forbid the use of tagged userspace addresses for memslots
authorMarc Zyngier <maz@kernel.org>
Thu, 21 Jan 2021 12:08:15 +0000 (12:08 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 21 Jan 2021 14:17:36 +0000 (14:17 +0000)
commit139bc8a6146d92822c866cf2fd410159c56b3648
tree47749e54b37ecdf138090403959ecd93c73a8ae6
parent9529aaa056edc76b3a41df616c71117ebe11e049
KVM: Forbid the use of tagged userspace addresses for memslots

The use of a tagged address could be pretty confusing for the
whole memslot infrastructure as well as the MMU notifiers.

Forbid it altogether, as it never quite worked the first place.

Cc: stable@vger.kernel.org
Reported-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Documentation/virt/kvm/api.rst
virt/kvm/kvm_main.c