aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic-v3.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2014-06-02 16:19:12 +0200
committerChristoffer Dall <christoffer.dall@linaro.org>2015-01-20 18:25:26 +0100
commitb26e5fdac43c1b7c394502917e42e3b91f3aa1a3 (patch)
tree128812f82e426b1d6d460421f9b2efe5b0904779 /virt/kvm/arm/vgic-v3.c
parentarm/arm64: KVM: wrap 64 bit MMIO accesses with two 32 bit ones (diff)
downloadlinux-dev-b26e5fdac43c1b7c394502917e42e3b91f3aa1a3.tar.xz
linux-dev-b26e5fdac43c1b7c394502917e42e3b91f3aa1a3.zip
arm/arm64: KVM: introduce per-VM ops
Currently we only have one virtual GIC model supported, so all guests use the same emulation code. With the addition of another model we end up with different guests using potentially different vGIC models, so we have to split up some functions to be per VM. Introduce a vgic_vm_ops struct to hold function pointers for those functions that are different and provide the necessary code to initialize them. Also split up the vgic_init() function to separate out VGIC model specific functionality into a separate function, which will later be different for a GICv3 model. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic-v3.c')
0 files changed, 0 insertions, 0 deletions