Re: [RFC PATCH 1/2] sys-hypervisor: /sys/hypervisor/type for Hyper-V

2019-08-05 Thread Nuno Das Neves
x-kernel@vger.kernel.org > *Subject:* Re: [RFC PATCH 1/2] sys-hypervisor: /sys/hypervisor/type for > Hyper-V >   > I am not sure about this.  > The existing tools like lscpu just use CPUID. What is does this addition add? > The main motivation is t

[RFC PATCH 1/2] sys-hypervisor: /sys/hypervisor/type for Hyper-V

2019-07-26 Thread Nuno Das Neves
Populate /sys/hypervisor with entries for Hyper-V. This patch adds /sys/hypervisor/type which contains "Hyper-V". Signed-off-by: Nuno Das Neves --- .../ABI/stable/sysfs-hypervisor-hyperv| 7 drivers/hv/Kconfig| 10 + drivers/hv/Makefile