[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 0/4] Display IO topology when PXM data is available
Changes in v2: * Split topology sysctls into two --- one for CPU topology and the other for devices * Avoid long loops in the hypervisor by using continuations. (I am not particularly happy about using first_dev in the interface, suggestions for a better interface would be appreciated) * Use proper libxl conventions for interfaces * Avoid hypervisor stack corruption when copying PXM data from guest 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 interface to make it a little more efficient. (This patch is not necessary for IO topology handling) * Add XEN_SYSCTL_pcitopoinfo sysctl for querying hypervisor about device topology * Make use of the above sysctl in libxl. Boris Ostrovsky (4): pci: Do not ignore device's PXM information sysctl: Make XEN_SYSCTL_topologyinfo sysctl a little more efficient sysctl: Add sysctl interface for querying PCI topology libxl: Add interface for querying hypervisor about PCI topology tools/libxc/include/xenctrl.h | 6 +- tools/libxc/xc_misc.c | 28 ++++++++-- tools/libxl/libxl.c | 110 ++++++++++++++++++++++++++----------- tools/libxl/libxl.h | 4 + tools/libxl/libxl_freebsd.c | 12 ++++ tools/libxl/libxl_internal.h | 5 ++ tools/libxl/libxl_linux.c | 71 ++++++++++++++++++++++++ tools/libxl/libxl_netbsd.c | 12 ++++ tools/libxl/libxl_types.idl | 7 ++ tools/libxl/libxl_utils.c | 8 +++ tools/libxl/xl_cmdimpl.c | 39 +++++++++++-- tools/misc/xenpm.c | 69 +++++++++-------------- tools/python/xen/lowlevel/xc/xc.c | 40 +++++--------- xen/arch/x86/physdev.c | 23 +++++++- xen/common/sysctl.c | 103 +++++++++++++++++++++++++++++------ xen/drivers/passthrough/pci.c | 13 +++- xen/include/public/physdev.h | 6 ++ xen/include/public/sysctl.h | 75 +++++++++++++++++++------ xen/include/xen/pci.h | 5 +- 19 files changed, 477 insertions(+), 159 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |