[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/4] Display IO topology when PXM data is available



4 patches that add interface for querying hypervisor about device
topology and allow 'xl info -n' display this information if PXM object
is provided by ACPI.

The patches are:

* Store PXM data (nodeID) in pci_dev during PHYSDEVOP_pci_device_add
  hypercall
* Modify XEN_SYSCTL_topologyinfo so that it can return both CPU and
  device topology data. Add corresponding libxl interface
* Use new interface to query the hypervisor about topology and print
  it with 'xl info -n'
* Replace all users of old cpu topology interface with the new
  call. This patch is optional.

Boris Ostrovsky (4):
  pci: Do not ignore device's PXM information
  sysctl/libxl: Add interface for returning IO topology data
  sysctl/libxl: Provide information about IO topology
  libxl: Switch to using new topology interface

 tools/libxl/libxl.c               | 130 +++++++++++++++++++++++++-------------
 tools/libxl/libxl.h               |   4 ++
 tools/libxl/libxl_freebsd.c       |  12 ++++
 tools/libxl/libxl_internal.h      |   5 ++
 tools/libxl/libxl_linux.c         |  74 ++++++++++++++++++++++
 tools/libxl/libxl_netbsd.c        |  12 ++++
 tools/libxl/libxl_numa.c          |  14 ++--
 tools/libxl/libxl_types.idl       |  12 ++++
 tools/libxl/libxl_utils.c         |  30 +++++----
 tools/libxl/xl_cmdimpl.c          |  75 +++++++++++++---------
 tools/misc/xenpm.c                |  64 ++++++++-----------
 tools/python/xen/lowlevel/xc/xc.c |  38 ++++-------
 xen/arch/x86/physdev.c            |  20 +++++-
 xen/common/sysctl.c               |  69 +++++++++++++++-----
 xen/drivers/passthrough/pci.c     |  13 ++--
 xen/include/public/sysctl.h       |  36 ++++++++---
 xen/include/xen/pci.h             |   5 +-
 17 files changed, 424 insertions(+), 189 deletions(-)

-- 
1.8.4.2


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.