From: Ian Campbell Subject: Re: Statistics at the host for network nic that was PCI-Passthrough Date: Mon, 14 Apr 2014 10:35:01 +0100 Message-ID: <1397468101.9862.228.camel@kazak.uk.xensource.com> References: <95c9e48ad3db7c84f138f717198c149e@startpo.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <95c9e48ad3db7c84f138f717198c149e@startpo.co.il> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Shimon Zadok Cc: Xen-Developement List-Id: xen-devel@lists.xenproject.org On Mon, 2014-04-14 at 12:32 +0300, Shimon Zadok wrote: > > -------- Original Message -------- > Subject: Re: [Xen-devel] Statistics at the host for network nic that > was PCI-Passthrough > Date: 14-04-2014 12:30 > From: Shimon Zadok > To: Ian Campbell > > Is it possible to write an extension to pciback to load a module > specific to that h/w? > It could be a new driver for that hardware that operates by itself for > reading these statistics from the nic... Then you would have uncoordinated accesses to the hardware from two domains. That might work for some hardware I suppose but it certainly isn't a good idea in general. You'd be better off building something in the domu to export the stats e.g. via xenstore. It could be entirely userspace I expect. Ian.