From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: qemu-xen-dir + PCI passthrough = BOOM Date: Mon, 16 Dec 2013 10:08:16 -0500 Message-ID: <20131216150816.GA14122@phenom.dumpdata.com> References: <20131204195147.GA3833@pegasus.dumpdata.com> <20131205121632.GO10855@perard.uk.xensource.com> <20131206144935.GA3603@pegasus.dumpdata.com> <20131206153503.GS10855@perard.uk.xensource.com> <20131206160018.GC4419@zion.uk.xensource.com> <20131206160310.GD4419@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VsZmS-0006bC-My for xen-devel@lists.xenproject.org; Mon, 16 Dec 2013 15:08:24 +0000 Content-Disposition: inline In-Reply-To: <20131206160310.GD4419@zion.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: Wei Liu Cc: Anthony PERARD , xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Fri, Dec 06, 2013 at 04:03:10PM +0000, Wei Liu wrote: > On Fri, Dec 06, 2013 at 04:00:18PM +0000, Wei Liu wrote: > [...] > > > Those Xen report something like: > > > (XEN) page_alloc.c:1460:d0 Over-allocation for domain 46: 131329 > > > > 131328 > > > (XEN) memory.c:132:d0 Could not allocate order=0 extent: id=46 > > > memflags=0 (62 of 64) > > > > > > ? > > > > > > (I tryied to reproduce the issue by simply add many emulated e1000 in > > > QEMU :) ) > > > > > > > FWIW this probably comes from XENMEM_populate_physmap. Simply speaking > > your domain is exceeding memory limit... > > > > And, if this comes from hvmloader it is not fatal. It will use lower > memory to fill in the holes. It says: [ 626.260261] d(d4) [2013-12-16 15:06:53] HVM Loader evice vif4.0 ent(d4) [2013-12-16 15:06:53] Detected Xen v4.4-unstable ered promiscuous(d4) [2013-12-16 15:06:53] Xenbus rings @0xfeffc000, event channel 3 mode (d4) [2013-12-16 15:06:53] System requested SeaBIOS [ 626.266706] x(d4) [2013-12-16 15:06:53] CPU speed is 3093 MHz en_pciback: vpci(d4) [2013-12-16 15:06:53] Relocating guest memory for lowmem MMIO space disabled : 0000:01:00.0: assign to virtual slot 0 And the device I am trying to pass in is: -bash-4.1# lspci -s 01:00.0 -v 01:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) Subsystem: Intel Corporation Gigabit ET Dual Port Server Adapter Flags: fast devsel, IRQ 16 Memory at fbc20000 (32-bit, non-prefetchable) [disabled] [size=128K] Memory at fb800000 (32-bit, non-prefetchable) [disabled] [size=4M] I/O ports at e020 [disabled] [size=32] Memory at fbc44000 (32-bit, non-prefetchable) [disabled] [size=16K] Expansion ROM at fb400000 [disabled] [size=4M] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+ Capabilities: [70] MSI-X: Enable- Count=10 Masked- Capabilities: [a0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 00-1b-21-ff-ff-45-d9-ac Capabilities: [150] Alternative Routing-ID Interpretation (ARI) Capabilities: [160] Single Root I/O Virtualization (SR-IOV) Kernel driver in use: pciback Kernel modules: igb > > Wei.