Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752228AbdFLOWF (ORCPT ); Mon, 12 Jun 2017 10:22:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:45067 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751977AbdFLOWE (ORCPT ); Mon, 12 Jun 2017 10:22:04 -0400 From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: boris.ostrovsky@oracle.com, gregkh@linuxfoundation.org, Juergen Gross Subject: [PATCH v3 0/4] xen: add xen sysfs nodes Date: Mon, 12 Jun 2017 16:21:46 +0200 Message-Id: <20170612142150.15283-1-jgross@suse.com> X-Mailer: git-send-email 2.12.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1448 Lines: 33 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. Add another node to show the Xen hypervisor buildid in order to make hypervisor live patching easier. Juergen Gross (4): doc,xen: document hypervisor sysfs nodes for xen xen: add sysfs node for guest type xen: sync include/xen/interface/version.h xen: add sysfs node for hypervisor build id Documentation/ABI/stable/sysfs-hypervisor-xen | 119 +++++++++++++++++++++ .../{sysfs-hypervisor-pmu => sysfs-hypervisor-xen} | 24 ++++- 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 | 46 ++++++++ include/xen/interface/version.h | 15 +++ include/xen/xen.h | 2 + 10 files changed, 216 insertions(+), 4 deletions(-) create mode 100644 Documentation/ABI/stable/sysfs-hypervisor-xen rename Documentation/ABI/testing/{sysfs-hypervisor-pmu => sysfs-hypervisor-xen} (54%) -- 2.12.3