In order to be able to determine the Xen guest type from within the
guest as a user there is currently no stable interface available.

Add a sysfs node for that purpose as the guest type information is
available for the kernel.

While doing this document all the other Xen related sysfs nodes.

Juergen Gross (2):
  doc,xen: document hypervisor sysfs nodes for xen
  xen: add sysfs node for guest type

 Documentation/ABI/testing/sysfs-hypervisor     | 144 +++++++++++++++++++++++++
 Documentation/ABI/testing/sysfs-hypervisor-pmu |  23 ----
 MAINTAINERS                                    |   1 +
 arch/arm/xen/enlighten.c                       |   3 +
 arch/x86/xen/enlighten.c                       |   3 +
 arch/x86/xen/enlighten_hvm.c                   |   6 +-
 arch/x86/xen/enlighten_pv.c                    |   1 +
 drivers/xen/sys-hypervisor.c                   |  17 +++
 include/xen/xen.h                              |   2 +
 9 files changed, 175 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-hypervisor
 delete mode 100644 Documentation/ABI/testing/sysfs-hypervisor-pmu

-- 
2.12.0


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

Reply via email to