]> git.proxmox.com Git - qemu.git/commit
target-arm: Use MemoryListener to identify GIC base address for KVM
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2013 00:34:42 +0000 (00:34 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2013 00:45:25 +0000 (00:45 +0000)
commiteb035b48d5ff26a155f37106f693acb8b8487d80
treede712e474eb09d9fc74fcf86de6308b919f8f6df
parent53111180946a56d314a9c1d07d09b9ef91e847b9
target-arm: Use MemoryListener to identify GIC base address for KVM

When using an in-kernel GIC with KVM, we need to tell the kernel where
the GIC's memory mapped registers live. Do this by registering a
MemoryListener which tracks where the board model maps the A15's
private peripherals, so we can finish the GIC initialisation
when the GIC is actually mapped.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
target-arm/kvm.c
target-arm/kvm_arm.h [new file with mode: 0644]