]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commit
passthrough: MSI-INTx interrupt translation support
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 12 Jan 2009 14:28:45 +0000 (14:28 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 12 Jan 2009 14:28:45 +0000 (14:28 +0000)
commita8d1bd66474ee201abebdcbb19150d6ca7491603
tree3291d8a21732aba4de6228d8ccd3b96dd9241241
parent0f4e24799bb7a54ef010423ebf91d5bc39cf55b6
passthrough: MSI-INTx interrupt translation support

This patch enables Xen to use MSI for MSI-capable devices as the
underlying interrupt source even if the guest does not explicitly
use it. The guest will still see an IO-APIC based INTx interrupt
translated by Xen from the MSI irq.

If the guest enables MSI or MSI-X for the passthrough device, this
translation is automatically turned off. It can also be disabled in
the config file at domain startup time.

Signed-off-by: Qing He <qing.he@intel.com>
hw/pass-through.c
hw/pass-through.h
hw/pci.h
xenstore.c