From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757468AbdEVI5y (ORCPT ); Mon, 22 May 2017 04:57:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:58651 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757351AbdEVI5P (ORCPT ); Mon, 22 May 2017 04:57:15 -0400 From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: boris.ostrovsky@oracle.com, Juergen Gross Subject: [PATCH 0/2] xen: add xen sysfs node Date: Mon, 22 May 2017 10:56:58 +0200 Message-Id: <20170522085700.488-1-jgross@suse.com> X-Mailer: git-send-email 2.12.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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