KVM: Implement kvm_put_guest()
authorSteven Price <steven.price@arm.com>
Mon, 21 Oct 2019 15:28:17 +0000 (16:28 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 21 Oct 2019 18:20:27 +0000 (19:20 +0100)
commitcac0f1b7285eaaf9a186c618c3a7304d82ed5493
tree1e2d0fc472e232ba268d86e608df462e88d06f5b
parentb48c1a45a190898103cec28771efc399fd65a05a
KVM: Implement kvm_put_guest()

kvm_put_guest() is analogous to put_user() - it writes a single value to
the guest physical address. The implementation is built upon put_user()
and so it has the same single copy atomic properties.

Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
include/linux/kvm_host.h