These patches populate /sys/hypervisor with some basic information when running
on Hyper-V. The first patch just introduces /sys/hypervisor/type which contains
"Hyper-V", and the second introduces /sys/hypervisor/version/ which contains a
file for each piece of hypervisor version information.

Nuno Das Neves (2):
  sys-hypervisor: /sys/hypervisor/type for Hyper-V
  sys-hypervisor: version information for Hyper-V

 .../ABI/stable/sysfs-hypervisor-hyperv        |  61 ++++++++
 drivers/hv/Kconfig                            |  10 ++
 drivers/hv/Makefile                           |   7 +-
 drivers/hv/sys-hypervisor.c                   | 143 ++++++++++++++++++
 4 files changed, 218 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/ABI/stable/sysfs-hypervisor-hyperv
 create mode 100644 drivers/hv/sys-hypervisor.c

-- 
2.17.1

Reply via email to