[PATCH 13/45] KVM: arm/arm64: vgic-new: Export register access interface

2016-04-15 Thread Andre Przywara
Userland can access the emulated GIC to save and restore its state for initialization or migration purposes. The kvm_io_bus API requires an absolute gpa, which does not fit the KVM_DEV_ARM_VGIC_GRP_DIST_REGS user API, that only provides relative offsets. So we explicitly iterate our register list

Re: [RFC PATCH 13/45] KVM: arm/arm64: vgic-new: Export register access interface

2016-04-12 Thread Christoffer Dall
On Mon, Apr 11, 2016 at 12:09:49PM +0100, Andre Przywara wrote: > Hej, > > On 31/03/16 10:24, Christoffer Dall wrote: > > On Fri, Mar 25, 2016 at 02:04:36AM +, Andre Przywara wrote: > >> Userland can access the emulated GIC to save and restore its state > >> for initialization or migration

Re: [RFC PATCH 13/45] KVM: arm/arm64: vgic-new: Export register access interface

2016-04-11 Thread Andre Przywara
Hej, On 31/03/16 10:24, Christoffer Dall wrote: > On Fri, Mar 25, 2016 at 02:04:36AM +, Andre Przywara wrote: >> Userland can access the emulated GIC to save and restore its state >> for initialization or migration purposes. >> The kvm_io_bus API requires an absolute gpa, which does not fit

Re: [RFC PATCH 13/45] KVM: arm/arm64: vgic-new: Export register access interface

2016-03-31 Thread Christoffer Dall
On Fri, Mar 25, 2016 at 02:04:36AM +, Andre Przywara wrote: > Userland can access the emulated GIC to save and restore its state > for initialization or migration purposes. > The kvm_io_bus API requires an absolute gpa, which does not fit the > KVM_DEV_ARM_VGIC_GRP_DIST_REGS user API, that

[RFC PATCH 13/45] KVM: arm/arm64: vgic-new: Export register access interface

2016-03-24 Thread Andre Przywara
Userland can access the emulated GIC to save and restore its state for initialization or migration purposes. The kvm_io_bus API requires an absolute gpa, which does not fit the KVM_DEV_ARM_VGIC_GRP_DIST_REGS user API, that only provides relative offsets. So we explicitly iterate our register list