[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <14c0303e-35d3-6e72-e38b-501a26a2a3a9@oracle.com>
Date: Fri, 26 May 2017 10:18:48 -0400
From: Boris Ostrovsky <boris.ostrovsky@...cle.com>
To: Juergen Gross <jgross@...e.com>, linux-kernel@...r.kernel.org,
xen-devel@...ts.xenproject.org
Cc: gregkh@...uxfoundation.org
Subject: Re: [PATCH v2 2/2] xen: add sysfs node for guest type
On 05/26/2017 08:56 AM, Juergen Gross wrote:
> Currently there is no reliable user interface inside a Xen guest to
> determine its type (e.g. HVM, PV or PVH). Instead of letting user mode
> try to determine this by various rather hacky mechanisms (parsing of
> boot messages before they are gone, trying to make use of known subtle
> differences in behavior of some instructions), add a sysfs node
> /sys/hypervisor/guest_type to explicitly deliver this information as
> it is known to the kernel.
>
> Signed-off-by: Juergen Gross <jgross@...e.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
(I would have preferred to have /sys/hypervisor/xen/ but given that some
of the other files have been around for ages, and are now declared
stable, it's too late).
Powered by blists - more mailing lists