OSDN Git Service

xen: Make XEN_BACKEND selectable by DomU
authorJason Andryuk <jandryuk@gmail.com>
Tue, 25 Sep 2018 11:36:55 +0000 (07:36 -0400)
committerJuergen Gross <jgross@suse.com>
Wed, 24 Oct 2018 08:16:47 +0000 (10:16 +0200)
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>
drivers/xen/Kconfig

index 90d387b..5ac319b 100644 (file)
@@ -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.