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 <jgr...@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrov...@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). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel