From ea9e57d06e48239e19f67769703aa48554f6648b Mon Sep 17 00:00:00 2001 From: Jason Andryuk Date: Tue, 25 Sep 2018 07:36:55 -0400 Subject: [PATCH] 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 Reviewed-by: Boris Ostrovsky Signed-off-by: Juergen Gross --- drivers/xen/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 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 config XEN_BACKEND bool "Backend driver support" - depends on XEN_DOM0 - default y + default XEN_DOM0 help Support for backend device drivers that provide I/O services to other virtual machines. -- 2.11.0