Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46a97191 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: hv: move hyperv code out of staging directory



After many years wandering the desert, it is finally time for the
Microsoft HyperV code to move out of the staging directory.  Or at least
the core hyperv bus code, and the utility driver, the rest still have
some review to get through by the various subsystem maintainers.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
parent 715a4801
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -130,4 +130,6 @@ source "drivers/iommu/Kconfig"

source "drivers/virt/Kconfig"

source "drivers/hv/Kconfig"

endmenu
+2 −0
Original line number Diff line number Diff line
@@ -127,3 +127,5 @@ obj-$(CONFIG_IOMMU_SUPPORT) += iommu/

# Virtualization drivers
obj-$(CONFIG_VIRT_DRIVERS)	+= virt/
obj-$(CONFIG_HYPERV)		+= hv/

drivers/hv/Kconfig

0 → 100644
+14 −0
Original line number Diff line number Diff line
config HYPERV
	tristate "Microsoft Hyper-V client drivers"
	depends on X86 && ACPI && PCI
	help
	  Select this option to run Linux as a Hyper-V client operating
	  system.

config HYPERV_UTILS
	tristate "Microsoft Hyper-V Utilities driver"
	depends on HYPERV && CONNECTOR && NLS
	help
	  Select this option to enable the Hyper-V Utilities.

drivers/hv/Makefile

0 → 100644
+7 −0
Original line number Diff line number Diff line
obj-$(CONFIG_HYPERV)		+= hv_vmbus.o
obj-$(CONFIG_HYPERV_UTILS)	+= hv_utils.o

hv_vmbus-y := vmbus_drv.o \
		 hv.o connection.o channel.o \
		 channel_mgmt.o ring_buffer.o
hv_utils-y := hv_util.o hv_kvp.o
+1 −1
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/hyperv.h>

#include "hyperv.h"
#include "hyperv_vmbus.h"

#define NUM_PAGES_SPANNED(addr, len) \
Loading