From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Martin Subject: Re: [Query] Flow of PCI device dedicated to a domU Date: Tue, 22 Jul 2014 17:06:28 +0100 Message-ID: <1669742135.20140722170628@gmail.com> References: <53C64AF8.90001@citrix.com> <53CE3541.80506@citrix.com> <53CE3DE2.8060908@citrix.com> <1721487090.20140722165657@gmail.com> <1406044966.32556.1.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1406044966.32556.1.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Andrew Cooper , Xenbegn developer , xen-devel@lists.xen.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hello Ian, >> If I read this correctly you are saying that the MMIO region is >> already mapped into my domain by xl? So when I go and read the BAR >> register from the PCI configuration I can just go and access it >> directly or do I have to update the VA mapping? > Stefano meant mapped in the p2m which under ARM or x86 HVM still means > you need to make a virtual mapping of those PFNs. > Under X86 PV "mapping" in this context really just means giving > permission to map the underlying MFNs, so you still need to create a > virtual mapping but they don't exist in your p2m until you put them > there. Thanks Ian, that is what I had understood from the mail that you sent me on the thread I started about "Consuming PCI device in PV kernel". Just wanted to confirm. I have just about worked my way up to implementing the MMIO access now and wanted to make sure before I carry on. -- Best regards, Simon mailto:furryfuttock@gmail.com