KVM: arm64: Add vm fd device attribute accessors
authorOliver Upton <oliver.upton@linux.dev>
Tue, 4 Apr 2023 15:40:40 +0000 (15:40 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 5 Apr 2023 11:07:41 +0000 (12:07 +0100)
commite0fc6b21616dd917899ee4a2d4126b4a963c0871
tree32c6af964b364c8cb53045f276d7a3bbde5ef229
parentde40bb8abb764f6866d82c4e2a43acdb22892cf4
KVM: arm64: Add vm fd device attribute accessors

A subsequent change will allow userspace to convey a filter for
hypercalls through a vm device attribute. Add the requisite boilerplate
for vm attribute accessors.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230404154050.2270077-4-oliver.upton@linux.dev
arch/arm64/kvm/arm.c