Am Mittwoch, den 18.07.2012, 11:44 +0200 schrieb Udo Steinberg:
> An active IOMMU will only let interrupt vectors through that have been
> explicitly whitelisted by the hypervisor. Applications request an interrupt
> by means of the assign_gsi hypercall and also specify which CPU they want
> the interrupt routed to. This must be done for any interrupt (IOAPIC or MSI).

One quick addition to this: If you guys implement that, be sure to test
it on a box that actually has Interrupt Remapping support. The kernel
will hide the difference (it magically returns the correct MSI
address/value pair to program), but if it works on a box with Interrupt
Remapping support, you are sure that you did everything correctly.

Udo, is there an easy way to figure out, if a system supports Interrupt
Remapping short of looking into ACPI tables?

> (I'm thinking about adding some code to the hypervisor, causing sem_down to
> fail on an interrupt semaphore unless the interrupt has been configured
> using assign_gsi.)

+1 from me. That would cause broken code to fail early.

Julian

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to