Skip to content

Commit ea9e57d

Browse files
jandryukjgross1
authored andcommitted
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 <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
1 parent a978a5b commit ea9e57d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/xen/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ config XEN_DEV_EVTCHN
105105

106106
config XEN_BACKEND
107107
bool "Backend driver support"
108-
depends on XEN_DOM0
109-
default y
108+
default XEN_DOM0
110109
help
111110
Support for backend device drivers that provide I/O services
112111
to other virtual machines.

0 commit comments

Comments
 (0)