KVM: arm/arm64: vgic-new: Export register access interface
authorChristoffer Dall <christoffer.dall@linaro.org>
Sun, 24 Apr 2016 23:11:37 +0000 (01:11 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:40:03 +0000 (15:40 +0200)
commitc3199f28e09496aa9fec9313b4f6e90e7dc913f0
treebbb54334faac81960f6dc872bde72d2b8e4bd725
parentf94591e2e6fdca6e9a2cbf23e36a8803b4f605fe
KVM: arm/arm64: vgic-new: Export register access interface

Userland can access the emulated GIC to save and restore its state
for initialization or migration purposes.
The kvm_io_bus API requires an absolute gpa, which does not fit the
KVM_DEV_ARM_VGIC_GRP_DIST_REGS user API, that only provides relative
offsets. So we provide a wrapper to plug into our MMIO framework and
find the respective register handler.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
virt/kvm/arm/vgic/vgic-mmio-v2.c
virt/kvm/arm/vgic/vgic.h
This page took 0.025287 seconds and 5 git commands to generate.