Skip to content

MSI-INTx interrupt translation for HVM

Qing He xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6passthrough: MSI-INTx translation for HVMtools/libxc/xc_domain.c xen/arch/x86/hvm/vmsi.c xen/drivers/passthrough/io.c +2 more+89 -370 replies
2/6ioemu:passthrough: MSI-INTx interrupt translation supporthw/pass-through.c hw/pass-through.h hw/pci.h +1 more+239 -250 replies
3/6pci: add pci option support for XML-RPC servertools/python/xen/xend/XendDomainInfo.py tools/python/xen/xend/server/pciif.py tools/python/xen/xm/create.py +1 more+76 -140 replies
4/6pci: add pci option support for XenAPI servertools/python/xen/xend/XendConfig.py tools/python/xen/xend/XendDPCI.py tools/python/xen/xend/XendDomainInfo.py +3 more+40 -40 replies
5/6pci: add config options for MSI-INTx translation in HVMtools/python/xen/xend/XendConfig.py tools/python/xen/xend/server/pciif.py tools/python/xen/xm/create.py +1 more+20 -40 replies
6/6passthough: MSI-INTx translation documentationdocs/misc/vtd.txt tools/examples/xmexample.hvm+62 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] MSI-INTx interrupt translation for HVM

This patchset enables MSI-INTx interrupt translation for HVM domains. The intention of the patch is to use MSI as the physical interrupt mechanism for passthrough device as much as possible, thus reducing the pirq sharing among domains.

When MSI is globally enabled, if the device has the MSI capability but doesn't used by the guest, hypervisor will try to user MSI as the underlying pirq and inject translated INTx irq to guest vioapic. When guest itself enabled MSI or MSI-X, the translation is automatically turned off.

Add a config file option to disable/enable this feature. Also, in order to allow the user to override the option per device, a per-device option mechanism is implemented and an MSI-INTx option is added

The patch set contains 6 patches and is organized as below:
[PATCH 1/6] hypervisor patch
*[PATCH 2/6] qemu patch
[PATCH 3/6] add pci options in domain config file [PATCH 4/6] XenAPI version of the above patch [PATCH 5/6] add global and per-device option for MSI-INTx [PATCH 6/6] documentation and example

* against ioemu-remote