aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Andryuk <jandryuk@gmail.com>2018-09-25 07:36:55 -0400
committerJuergen Gross <jgross@suse.com>2018-10-24 04:16:47 -0400
commitea9e57d06e48239e19f67769703aa48554f6648b (patch)
tree1b635fe7a1fea05fed46c959b29fcabce1d0cc9f
parenta978a5b8d83f795e107a2ff759b28643739be70e (diff)
xen: Make XEN_BACKEND selectable by DomU
XEN_BACKEND doesn't actually depend on XEN_DOM0. DomUs can serve backends to other DomUs. One example is a service VM providing network backends. The original Kconfig defaulted Dom0 to y and it could be disabled. DomU could not select the option. With the new Kconfig, we default y for Dom0 and n for DomU. Either can then toggle the selection. Signed-off-by: Jason Andryuk <jandryuk@gmail.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Juergen Gross <jgross@suse.com>
-rw-r--r--drivers/xen/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index 90d387b50ab7..5ac319b5c880 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -105,8 +105,7 @@ config XEN_DEV_EVTCHN
105 105
106config XEN_BACKEND 106config XEN_BACKEND
107 bool "Backend driver support" 107 bool "Backend driver support"
108 depends on XEN_DOM0 108 default XEN_DOM0
109 default y
110 help 109 help
111 Support for backend device drivers that provide I/O services 110 Support for backend device drivers that provide I/O services
112 to other virtual machines. 111 to other virtual machines.