From c3c177d6fe11936ae9434ba54f061376da4927da Mon Sep 17 00:00:00 2001 From: Jean Guyader Date: Fri, 6 Nov 2009 14:14:41 +0000 Subject: [PATCH] v2vdev: Add makefile and Kconfnig. --- master/v2v-dev | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/master/v2v-dev b/master/v2v-dev index 3104196..c8cdce0 100644 --- a/master/v2v-dev +++ b/master/v2v-dev @@ -1,3 +1,29 @@ +diff --git a/drivers/xen/v2v/Kconfig b/drivers/xen/v2v/Kconfig +index 5966234..b3b6ef4 100644 +--- a/drivers/xen/v2v/Kconfig ++++ b/drivers/xen/v2v/Kconfig +@@ -22,3 +22,10 @@ config XEN_V2V_DRV + default n + help + Sample for Xen V2V interdomain communication services. ++ ++config XEN_V2V_DEV ++ tristate "Xen V2V device" ++ depends on XEN_V2V ++ default m ++ help ++ Xen V2V char device for userland v2v. +diff --git a/drivers/xen/v2v/Makefile b/drivers/xen/v2v/Makefile +index f3442d9..5230cd6 100644 +--- a/drivers/xen/v2v/Makefile ++++ b/drivers/xen/v2v/Makefile +@@ -4,5 +4,6 @@ + + v2vdrv-objs = + v2vdrv-objs += v2vsamp.o v2vops.o ++obj-$(CONFIG_XEN_V2V_DEV) += v2vdev.o + + ccflags-$(CONFIG_XEN_V2V_DEBUG) += -DDEBUG diff --git a/drivers/xen/v2v/v2vdev.c b/drivers/xen/v2v/v2vdev.c new file mode 100644 index 0000000..adfc6c8 -- 2.39.5