Thread (40 messages) 40 messages, 4 authors, 2015-01-14
STALE4182d REVIEWED: 1 (0M)

[PATCH v6 05/20] arm/arm64: KVM: introduce per-VM ops

From: Christoffer Dall <hidden>
Date: 2015-01-11 14:58:52

On Fri, Jan 09, 2015 at 11:54:23AM +0000, Andre Przywara wrote:
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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help