On 20/06/12 22:06, Christoffer Dall wrote: > On Mon, May 14, 2012 at 9:05 AM, Marc Zyngier <marc.zyngier at arm.com> wrote: >> Wire the initial in-kernel MMIO support code for the VGIC, used >> for the distributor emulation. >> >> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com> >> --- >> arch/arm/include/asm/kvm_vgic.h | 4 +- >> arch/arm/kvm/Makefile | 1 + >> arch/arm/kvm/vgic.c | 130 +++++++++++++++++++++++++++++++++++++++ >> 3 files changed, 134 insertions(+), 1 deletions(-) >> create mode 100644 arch/arm/kvm/vgic.c >> [...] > I'm guessing we probably don't want to do all this off of the kvm_run > struct given that user space maps it, but rather have a separate copy > of the struct mmio or something different all together. Ouch. I didn't realize kvm_run was actually mmapped. I'll change all this to use a separate copy. M. -- Jazz is not dead. It just smells funny...