Messages in this thread | | | Subject | Re: [PATCH v2 2/2] xen: add sysfs node for guest type | From | Boris Ostrovsky <> | Date | Fri, 26 May 2017 10:18:48 -0400 |
| |
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@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.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).
| |