From: Keir Fraser Subject: Re: PCI code Xen 2 -> Xen 3 Date: Thu, 1 Jun 2006 21:43:12 +0100 Message-ID: References: <49655.128.42.6.124.1149190947.squirrel@dcarr.org> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49655.128.42.6.124.1149190947.squirrel@dcarr.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: David Carr Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 1 Jun 2006, at 20:42, David Carr wrote: > I'm porting some code from 2 to 3 that did some PCI configuration in > the hypervisor. A lot of the Xen code that supported this seems to > have moved. For example, in Xen 2 there was a header file > (xen/include/xen/pci.h) that defined the pci_dev struct and several > other things. Where is that sort of code located now? Lots of platform initialisation and management has been moved to domain0. Xen itself no longer knows anything at all about PCI. Instead we use the domain0 guest OS's PCI subsystem unmodified. > What major Xen architectural changes should I be aware of? I've read > the > developer presentations on the Xen website and checked the Wiki. Is > there > other documentation? You've just bumped into one of the biggest ones. :-) -- Keir