]> git.proxmox.com Git - qemu.git/commit - target-ppc/kvm-stub.c
kvm/openpic: in-kernel mpic support
authorScott Wood <scottwood@freescale.com>
Wed, 12 Jun 2013 20:32:51 +0000 (15:32 -0500)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Jun 2013 23:11:14 +0000 (01:11 +0200)
commitd85937e683f6ff4d68293cb24c780fb1f6820d2c
treed5e22e6fe43fcb1d004d39d3974241e8fd1d7aa7
parent4be1db86060d803f2335c08a483218eb6a8bd9eb
kvm/openpic: in-kernel mpic support

Enables support for the in-kernel MPIC that thas been merged into the
KVM next branch.  This includes irqfd/KVM_IRQ_LINE support from Alex
Graf (along with some other improvements).

Note from Alex regarding kvm_irqchip_create():

  On x86, one would call kvm_irqchip_create() to initialize an
  in-kernel interrupt controller.  That function then goes ahead and
  initializes global capability variables as well as the default irq
  routing table.

  On ppc, we can't call kvm_irqchip_create() because we can have
  different types of interrupt controllers.  So we want to do all the
  things that function would do for us in the in-kernel device init
  handler.

Signed-off-by: Scott Wood <scottwood@freescale.com>
[agraf: squash in kvm_irqchip_commit_routes patch, fix non-kvm build,
        fix ppcemb]
Signed-off-by: Alexander Graf <agraf@suse.de>
default-configs/ppc-softmmu.mak
default-configs/ppc64-softmmu.mak
default-configs/ppcemb-softmmu.mak
hw/intc/Makefile.objs
hw/intc/openpic_kvm.c [new file with mode: 0644]
hw/ppc/e500.c
include/hw/ppc/openpic.h
target-ppc/kvm-stub.c