Fix irq routing by moving it to the correct place
commit3bb140dd2c23bb2b708cc3a7e9cd71546e34528e
authorJes Sorensen <jes@sgi.com>
Wed, 6 May 2009 14:11:43 +0000 (6 16:11 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 7 May 2009 11:49:52 +0000 (7 14:49 +0300)
tree4214f202b38d553188d64ea3ab4de49893e5dafd
parent0e8d16ba06486ebf79f131f28121774715975248
Fix irq routing by moving it to the correct place

Platform specific IRQ routing doesn't belong in the generic codepath.
Create kvm_arch_init_irq_routing() and move the x86 specific routing
setup to the appropriate place.

With this interrupts are delivered again on ia64.

[avi: make it build on x86, properly handle errors]

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu-kvm-x86.c
qemu-kvm.c
qemu-kvm.h