KVM: arm-vgic: Set base addr through device API
Support setting the distributor and cpu interface base addresses in the VM physical address space through the KVM_{SET,GET}_DEVICE_ATTR API in addition to the ARM specific API. This has the added benefit of being able to share more code in user space and do things in a uniform manner. Also deprecate the older API at the same time, but backwards compatibility will be maintained. Acked-by:Marc Zyngier <marc.zyngier@arm.com> Signed-off-by:
Christoffer Dall <christoffer.dall@linaro.org>
Showing
- Documentation/virtual/kvm/api.txt 6 additions, 1 deletionDocumentation/virtual/kvm/api.txt
- Documentation/virtual/kvm/devices/arm-vgic.txt 11 additions, 0 deletionsDocumentation/virtual/kvm/devices/arm-vgic.txt
- arch/arm/include/uapi/asm/kvm.h 2 additions, 0 deletionsarch/arm/include/uapi/asm/kvm.h
- arch/arm/kvm/arm.c 1 addition, 1 deletionarch/arm/kvm/arm.c
- include/kvm/arm_vgic.h 1 addition, 1 deletioninclude/kvm/arm_vgic.h
- virt/kvm/arm/vgic.c 75 additions, 12 deletionsvirt/kvm/arm/vgic.c
Please register or sign in to comment