KVM: arm/arm64: Factor out hypercall handling from PSCI code
We currently intertwine the KVM PSCI implementation with the general dispatch of hypercall handling, which makes perfect sense because PSCI is the only category of hypercalls we support. However, as we are about to support additional hypercalls, factor out this functionality into a separate hypercall handler file. Signed-off-by: NChristoffer Dall <christoffer.dall@arm.com> [steven.price@arm.com: rebased] Reviewed-by: NAndrew Jones <drjones@redhat.com> Signed-off-by: NSteven Price <steven.price@arm.com> Signed-off-by: NMarc Zyngier <maz@kernel.org>
Showing
include/kvm/arm_hypercalls.h
0 → 100644
virt/kvm/arm/hypercalls.c
0 → 100644
想要评论请 注册 或 登录