From: Keir Fraser Subject: Re: Non-page aligned MMIO BAR error on dom-0 on Xen HVM setup Date: Thu, 15 Oct 2009 09:40:52 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Purna Chandar , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 15/10/2009 08:30, "Purna Chandar" wrote: > But, when I trigger an FLR (function level reset) on the pass-through > device/function on dom-0 (not on dom-u), I have problems on guest OS. The > "disabled" bit appears in the lspci output on the device in the guest. The > driver is not able to do any memory-mapped reads/writes and hence I am not > able to load the driver. I triggered the FLR using following command: > # setpci -s 01:00.2 CAP_EXP+8.w=0xa814 > (Before triggering FLR, value at CAP_EXP+8.w is 0x2814. As we have to set last > bit in PCI Express capability for FLR, value used in above command is 0xa814). Why would you do that? Do you do it while the guest is running and owns the device? -- Keir