summaryrefslogtreecommitdiff
path: root/virt/kvm/arm/vgic/vgic-kvm-device.c
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2016-04-25 02:11:37 +0300
committerChristoffer Dall <christoffer.dall@linaro.org>2016-05-20 16:40:03 +0300
commitc3199f28e09496aa9fec9313b4f6e90e7dc913f0 (patch)
treebbb54334faac81960f6dc872bde72d2b8e4bd725 /virt/kvm/arm/vgic/vgic-kvm-device.c
parentf94591e2e6fdca6e9a2cbf23e36a8803b4f605fe (diff)
downloadlinux-c3199f28e09496aa9fec9313b4f6e90e7dc913f0.tar.xz
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>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-kvm-device.c')
0 files changed, 0 insertions, 0 deletions