From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Re: APIC rework Date: Tue, 17 Nov 2009 05:44:15 +0000 Message-ID: References: <4B023285.50702@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B023285.50702@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Xen-devel , "Han, Weidong" , "Zhang, Xiantao" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On 17/11/2009 05:20, "Jeremy Fitzhardinge" wrote: > On 11/16/09 19:45, Keir Fraser wrote: >> It's kind of a shame to need this though. Is there no way for the hypervisor >> to work out automatically whether an older dom0 is running? Or work out the >> trigger/level stuff for itself (after all it parses the relevant bios tables >> just like dom0)? > > If Xen can set the interrupt triggering by itself, why would it ever > need dom0 to do it? Couldn't it just preconfigure all the pins, and > then wait for dom0 to provide/request the pirq<->evtchn mapping? Very fair question. As long as Xen knows which GSI is being addressed (which I'm sure it can work out), the rest should follow. I don't think even things like PCI hotplug complicate this -- IOAPIC pins themselves are static. -- Keir