From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v6 5/5] libxl: Add interface for querying hypervisor about PCI topology Date: Wed, 15 Apr 2015 13:35:53 +0100 Message-ID: <1429101353.15516.258.camel@citrix.com> References: <1428358329-8466-1-git-send-email-boris.ostrovsky@oracle.com> <1428358329-8466-6-git-send-email-boris.ostrovsky@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1428358329-8466-6-git-send-email-boris.ostrovsky@oracle.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: Boris Ostrovsky Cc: elena.ufimtseva@oracle.com, wei.liu2@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, dario.faggioli@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org, jbeulich@suse.com, keir@xen.org, dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org On Mon, 2015-04-06 at 18:12 -0400, Boris Ostrovsky wrote: > .. and use this new interface to display it along with CPU topology > and NUMA information when 'xl info -n' command is issued > > The output will look like > ... > cpu_topology : > cpu: core socket node > 0: 0 0 0 > ... > device topology : > device node > 0000:00:00.0 0 > 0000:00:01.0 0 > ... > > Signed-off-by: Boris Ostrovsky > --- > > Changes in v6: > * xc_pcitopoinfo() now has to deal with hypercall not finishing processing whole > array (due to changes in patch 2): do_sysctl() is now called in a loop). Having looked at that function you can put my ack from before back, thanks. Ian.