KVM: arm64: vgic-its: vgic_its_alloc_ite/device
authorEric Auger <eric.auger@redhat.com>
Sun, 25 Dec 2016 17:57:54 +0000 (18:57 +0100)
committerChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 12:37:52 +0000 (14:37 +0200)
commit528297f560add8b7cac2f401d6aeb5bb3d1ef345
tree3ee73fbc958a50003c1b668521005eaad6e24e84
parent3b65808f4b2914db175a048097956d59ec609e04
KVM: arm64: vgic-its: vgic_its_alloc_ite/device

Add two new helpers to allocate an its ite and an its device.
This will avoid duplication on restore path.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-its.c