From: Andre Przywara Date: Mon, 2 Jun 2014 14:19:12 +0000 (+0200) Subject: arm/arm64: KVM: introduce per-VM ops X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~97^2~37^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b26e5fdac43c1b7c394502917e42e3b91f3aa1a3;p=pandora-kernel.git 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 Reviewed-by: Christoffer Dall Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed