From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Permissive devices in Xen Date: Sun, 08 Jul 2007 10:55:16 +0100 Message-ID: References: <20070708010556.GW3885@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070708010556.GW3885@ics.muni.cz> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Lukas Hejtmanek , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 8/7/07 02:05, "Lukas Hejtmanek" wrote: > The PCI_COMMAND is handled in special way so that the device is > enabled/disabled properly, am I right? > > Why is PCI_INTERRUPT_LINE read from dev->irq and not from the config space? dom0 will have correctly routed the interrupt,a nd stored the correct irq number in dev->irq. The number in the config space may not be correct, or may indicate only the irq number for legacy PCI-ISA link. > Why the PCI address bars are handled in very different way? And it seems that > writing these bars is never committed to the real devices. Why? domU is not trusted to manage the i/o address space. We assume dom0 has set up the values sanely and domU should have no reason to change them. -- Keir