- enable PV devices in Linux running in a Xen HVM domain;
- receive evtchns in place of interrupts to avoid expensive EOIs.
The main difference between the two patch series is the way the second
goals is achieved: in this patch series I am trying to reuse the same
code that is used in the Linux kernel to setup GSI to pirq mappings when
running as dom0.
In this case the GSIs that are being remapped correspond to emulated
interrupts, but Xen knows the difference and handles the two cases
separately.
It should be easy to use this mechanism also to map interrupts or MSIs
from pci passthrough devices with minimal changes to the Linux kernel.
The patch series consists of 5 patches, 1 for Xen and 4 for Linux; each
patch comes with a detailed description.
Any comment, critic or suggestion is very welcome.
Cheers,
Stefano
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
I should point out that the Linux side of the patch series is developed
against the branch "xen/dom0/apic-xiantao" of the pvops tree, that is
the master branch plus the recent apic rework.
Moreover it still needs few fixes: in particular the PV on HVM SMP
initialization code is exactly the same as in the last patch series from
Shen, therefore it doesn't address any of Jeremy's comments yet.