From: Ian Campbell Subject: Re: [PATCH RESEND v9 08/14] xen/x86: factor out map and unmap from the memory_mapping DOMCTL Date: Wed, 23 Jul 2014 14:04:29 +0100 Message-ID: <1406120669.17482.16.camel@kazak.uk.xensource.com> References: <53BFEBFB.1090602@linaro.org> <1405299035-2988-1-git-send-email-avanzini.arianna@gmail.com> <1405299035-2988-9-git-send-email-avanzini.arianna@gmail.com> <53CFBFB902000078000250F6@mail.emea.novell.com> <53CFB09A.6030703@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53CFB09A.6030703@gmail.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: Arianna Avanzini Cc: tim@xen.org, paolo.valente@unimore.it, keir@xen.org, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, dario.faggioli@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, julien.grall@citrix.com, etrudeau@broadcom.com, Jan Beulich , viktor.kleinik@globallogic.com List-Id: xen-devel@lists.xenproject.org On Wed, 2014-07-23 at 14:54 +0200, Arianna Avanzini wrote: > I am having some fun finding out a > way to pipe up to libxl information about the class of PCI devices. I however > hope to be proposing it very soon. I think you can just read it from SYSFS_PCI_DEV/BDF/class (see #defines in tools/libxl/libxl_osdeps.h). Ian.