|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the uni
On Tue, 17 Feb 2009 20:07:48 +1100
Simon Horman <horms@xxxxxxxxxxxx> wrote:
> This series starts of with servaral cleanup patches.
>
> The meat of the changes start with the patch
> "ioemu: use devfn instead of slots as the unit for passthrough"
>
> This allows multi-function cards to be appear in guets as
> multi-function cards, with the restriction that function 0 must
> be passed through. Otherwise each function is allocated its own
> slot, as before.
How do you guarantee that virtual gsi is not shared between
pass-throughed devices? Xen hypervisor does not support sharing
virtual gsi between pass-throughed devices.
The function 0 always uses INTA. The function 1-7 might use INTB-INTD.
INTB-INTD will route to the same virtual gsi with other device's
INTA-INTD.
Current interrupt routing in xen hypervisor is defined as follows.
xen/include/asm-x86/hvm/irq.h
#define hvm_pci_intx_gsi(dev, intx) \
(((((dev)<<2) + ((dev)>>3) + (intx)) & 31) + 16)
Thanks,
--
Yuji Shimada
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [rfc 11/18] ioemu: piix4acpi.c: Consistently dont cast opaque to PHPSlots, (continued)
- [Xen-devel] [rfc 11/18] ioemu: piix4acpi.c: Consistently dont cast opaque to PHPSlots, Simon Horman
- [Xen-devel] [rfc 12/18] ioemu: piix4acpi.c: remove unnecessary assignment of pci_slots to local variables, Simon Horman
- [Xen-devel] [rfc 13/18] ioemu: piix4acpi.c: remove ACPI_PHP_SLOT_NUM, Simon Horman
- [Xen-devel] [rfc 14/18] ioemu: use devfn instead of slots as the unit for passthrough, Simon Horman
- [Xen-devel] [rfc 15/18] ioemu: use struct php_dev to pass around PCI pass-through assignment parameters, Simon Horman
- [Xen-devel] [rfc 16/18] ioemu: non-destructive parsing of PCI assignement strings, Simon Horman
- [Xen-devel] [rfc 17/18] ioemu: sort pass-through PCI devices before inserting, Simon Horman
- [Xen-devel] [rfc 18/18] ioemu: Allow virtual function to be speficied for PCI pass-through, Simon Horman
- [Xen-devel] Re: [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough, Ian Jackson
- Re: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough,
Yuji Shimada <=
|
|
|
|
|