mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Juergen Gross <jgross@suse.com>,
	linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org
Cc: gregkh@linuxfoundation.org, Stefano Stabellini <sstabellini@kernel.org>
Subject: Re: [PATCH v3 1/4] doc,xen: document hypervisor sysfs nodes for xen
Date: Wed, 14 Jun 2017 10:38:34 -0400	[thread overview]
Message-ID: <0d04a1b4-7bf0-a5dc-578b-1e5115b71b49@oracle.com> (raw)
In-Reply-To: <20170612142150.15283-2-jgross@suse.com>

+ Stefano for ARM.

On 06/12/2017 10:21 AM, Juergen Gross wrote:
> Today only a few sysfs nodes under /sys/hypervisor/ are documented
> for Xen in Documentation/ABI/testing/sysfs-hypervisor-pmu.
>
> Add the remaining Xen sysfs nodes under /sys/hypervisor/ in a new
> file Documentation/ABI/stable/sysfs-hypervisor-xen and add the Xen
> specific sysfs docs to the MAINTAINERS file.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
> ---
> V3:
>   - added hint for hidden values where appropriate (Andrew Cooper)
>
> V2:
>   - rename file to Documentation/ABI/stable/sysfs-hypervisor-xen in
>     order to reflect Xen dependency
>   - leave pmu entries in old file under testing (Boris Ostrovsky)
> ---
>  Documentation/ABI/stable/sysfs-hypervisor-xen | 119 ++++++++++++++++++++++++++
>  MAINTAINERS                                   |   2 +
>  2 files changed, 121 insertions(+)
>  create mode 100644 Documentation/ABI/stable/sysfs-hypervisor-xen
>
> diff --git a/Documentation/ABI/stable/sysfs-hypervisor-xen b/Documentation/ABI/stable/sysfs-hypervisor-xen
> new file mode 100644
> index 000000000000..e413154128b8
> --- /dev/null
> +++ b/Documentation/ABI/stable/sysfs-hypervisor-xen
> @@ -0,0 +1,119 @@
> +What:		/sys/hypervisor/compilation/compile_date
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Contains the build time stamp of the Xen hypervisor
> +		Might return "<denied>" in case of special security settings
> +		in the hypervisor.
> +
> +What:		/sys/hypervisor/compilation/compiled_by
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Contains information who built the Xen hypervisor
> +		Might return "<denied>" in case of special security settings
> +		in the hypervisor.
> +
> +What:		/sys/hypervisor/compilation/compiler
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Compiler which was used to build the Xen hypervisor
> +		Might return "<denied>" in case of special security settings
> +		in the hypervisor.
> +
> +What:		/sys/hypervisor/properties/capabilities
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Space separated list of supported guest system types. Each type
> +		is in the format: <class>-<major>.<minor>-<arch>
> +		With:
> +			<class>: "xen" -- x86: paravirtualized, arm: standard
> +				 "hvm" -- x86 only: full virtualized

s/full/fully/

Other than that

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

-boris

> +			<major>: major guest interface version
> +			<minor>: minor guest interface version
> +			<arch>:  architecture, e.g.:
> +				 "x86_32": 32 bit x86 guest without PAE
> +				 "x86_32p": 32 bit x86 guest with PAE
> +				 "x86_64": 64 bit x86 guest
> +				 "armv7l": 32 bit arm guest
> +				 "aarch64": 64 bit arm guest
> +
> +What:		/sys/hypervisor/properties/changeset
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Changeset of the hypervisor (git commit)
> +		Might return "<denied>" in case of special security settings
> +		in the hypervisor.
> +
> +What:		/sys/hypervisor/properties/features
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Features the Xen hypervisor supports for the guest as defined
> +		in include/xen/interface/features.h printed as a hex value.
> +
> +What:		/sys/hypervisor/properties/pagesize
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Default page size of the hypervisor printed as a hex value.
> +		Might return "0" in case of special security settings
> +		in the hypervisor.
> +
> +What:		/sys/hypervisor/properties/virtual_start
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Virtual address of the hypervisor as a hex value.
> +
> +What:		/sys/hypervisor/type
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		Type of hypervisor:
> +		"xen": Xen hypervisor
> +
> +What:		/sys/hypervisor/uuid
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		UUID of the guest as known to the Xen hypervisor.
> +
> +What:		/sys/hypervisor/version/extra
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		The Xen version is in the format <major>.<minor><extra>
> +		This is the <extra> part of it.
> +		Might return "<denied>" in case of special security settings
> +		in the hypervisor.
> +
> +What:		/sys/hypervisor/version/major
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		The Xen version is in the format <major>.<minor><extra>
> +		This is the <major> part of it.
> +
> +What:		/sys/hypervisor/version/minor
> +Date:		March 2009
> +KernelVersion:	2.6.30
> +Contact:	xen-devel@lists.xenproject.org
> +Description:	If running under Xen:
> +		The Xen version is in the format <major>.<minor><extra>
> +		This is the <minor> part of it.
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 09b5ab6a8a5c..68c31aebb79c 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -13982,6 +13982,8 @@ F:	drivers/xen/
>  F:	arch/x86/include/asm/xen/
>  F:	include/xen/
>  F:	include/uapi/xen/
> +F:	Documentation/ABI/stable/sysfs-hypervisor-xen
> +F:	Documentation/ABI/testing/sysfs-hypervisor-pmu
>  
>  XEN HYPERVISOR ARM
>  M:	Stefano Stabellini <sstabellini@kernel.org>

  reply	other threads:[~2017-06-14 14:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 14:21 [PATCH v3 0/4] xen: add xen sysfs nodes Juergen Gross
2017-06-12 14:21 ` [PATCH v3 1/4] doc,xen: document hypervisor sysfs nodes for xen Juergen Gross
2017-06-14 14:38   ` Boris Ostrovsky [this message]
2017-06-14 19:06     ` Stefano Stabellini
2017-06-12 14:21 ` [PATCH v3 2/4] xen: add sysfs node for guest type Juergen Gross
2017-06-14 14:48   ` Boris Ostrovsky
2017-06-14 15:00     ` Juergen Gross
2017-06-14 15:01       ` Boris Ostrovsky
2017-06-14 15:09         ` Juergen Gross
2017-06-12 14:21 ` [PATCH v3 3/4] xen: sync include/xen/interface/version.h Juergen Gross
2017-06-14 14:50   ` Boris Ostrovsky
2017-06-12 14:21 ` [PATCH v3 4/4] xen: add sysfs node for hypervisor build id Juergen Gross
2017-06-14 15:00   ` Boris Ostrovsky
2017-06-14 15:06     ` Juergen Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0d04a1b4-7bf0-a5dc-578b-1e5115b71b49@oracle.com \
    --to=boris.ostrovsky@oracle.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jgross@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®