qemu/apic: minimal MSI/MSI-X implementation for PC
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 21 Jun 2009 16:50:03 +0000 (19:50 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 24 Jun 2009 14:09:14 +0000 (09:09 -0500)
commit061f2def4aa77e3cec5597cb16c84ac16cb3cf20
treea9cbadcce36f2244f4dbecce5f9e3a2952fbf2e5
parent0ee71f1da0210b05b38e321e55ba86f2de4cbb68
qemu/apic: minimal MSI/MSI-X implementation for PC

Implement MSI support in APIC. Note that MSI and MMIO APIC registers
are at the same memory location, but actually not on the global bus: MSI
is on PCI bus, APIC is connected directly to the CPU. We map them on the
global bus at the same address which happens to work because MSI
registers are reserved in APIC MMIO and vice versa.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/apic.c