Re: [PATCH 2/2] xen: add sysfs node for guest type

From: Boris Ostrovsky
Date: Mon May 22 2017 - 09:18:58 EST



> diff --git a/Documentation/ABI/testing/sysfs-hypervisor b/Documentation/ABI/testing/sysfs-hypervisor
> index 443196f0aa1c..06850f74ebd4 100644
> --- a/Documentation/ABI/testing/sysfs-hypervisor
> +++ b/Documentation/ABI/testing/sysfs-hypervisor
> @@ -19,6 +19,19 @@ Contact: xen-devel@xxxxxxxxxxxxxxxxxxxx
> Description:
> Compiler which was used to build the Xen hypervisor
>
> +What: /sys/hypervisor/guest_type
> +Date: May 2017
> +KernelVersion: 4.12
> +Contact: xen-devel@xxxxxxxxxxxxxxxxxxxx
> +Description:
> + Type of guest:
> + "native": standard guest type on arm
> + "HVM": fully virtualized guest (x86)

Can we ever get this? Xen sysfs node won't load unless we are
!XEN_NATIVE and then we are either PVH or PVHVM.

-boris

> + "PV": paravirtualized guest (x86)
> + "PVH": fully virtualized guest without legacy emulation (x86)
> + "PVHVM": fully virtualized guest using paravirtualized
> + interfaces (e.g. interrupts, timers) (x86)
> +
>