[PATCH v2 0/2] xen: add xen sysfs node

From: Juergen Gross
Date: Fri May 26 2017 - 08:58:32 EST


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/stable/sysfs-hypervisor-xen | 107 +++++++++++++++++++++
.../{sysfs-hypervisor-pmu => sysfs-hypervisor-xen} | 15 ++-
MAINTAINERS | 2 +
arch/arm/xen/enlighten.c | 3 +
arch/x86/xen/enlighten.c | 3 +
arch/x86/xen/enlighten_hvm.c | 5 +-
arch/x86/xen/enlighten_pv.c | 1 +
drivers/xen/sys-hypervisor.c | 17 ++++
include/xen/xen.h | 2 +
9 files changed, 151 insertions(+), 4 deletions(-)
create mode 100644 Documentation/ABI/stable/sysfs-hypervisor-xen
rename Documentation/ABI/testing/{sysfs-hypervisor-pmu => sysfs-hypervisor-xen} (67%)

--
2.12.0