xen: Make XEN_BACKEND selectable by DomU
PATCH 1/1 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.
---
OpenXT runs network backends in a network service DomU that shares out PCI NICs.
drivers/xen/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/xen/Kconfig +1 -2
@@ -101,8 +101,7 @@ config XEN_DEV_EVTCHN config XEN_BACKEND bool "Backend driver support" - depends on XEN_DOM0 - default y + default y if XEN_DOM0 help Support for backend device drivers that provide I/O services to other virtual machines.
Signature · 1 line
2.17.1
drivers/xen/Kconfig config XEN_DEV_EVTCHN · line 104
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 20.09.18 at 16:32, <[email protected]> wrote:
drivers/xen/Kconfig +1
-2@@ -101,8 +101,7 @@ config XEN_DEV_EVTCHN config XEN_BACKEND bool "Backend driver support" - depends on XEN_DOM0 - default y + default y if XEN_DOM0
Why not the simpler "default XEN_DOM0"?
Jan
Quoted 6 lines · Jan Beulich
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines · On 20.09.18 at 16:32, <[email protected]> wrote:
drivers/xen/Kconfig +0
-0@@ -101,8 +101,7 @@ config XEN_DEV_EVTCHN
Quoted 7 lines
drivers/xen/Kconfig config XEN_DEV_EVTCHN · line 104
Quoted 5 lines
drivers/xen/Kconfig +1
-2config XEN_BACKEND bool "Backend driver support" - depends on XEN_DOM0 - default y + default y if XEN_DOM0Why not the simpler "default
XEN_DOM0"?
I didn't realize you could do that. :) Yes, that's nicer.
Thanks,
Jason
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 6 lines · Jan Beulich
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines · On 20.09.18 at 16:32, <[email protected]> wrote:
drivers/xen/Kconfig +0
-0@@ -101,8 +101,7 @@ config XEN_DEV_EVTCHN
Quoted 7 lines
drivers/xen/Kconfig config XEN_DEV_EVTCHN · line 104
Quoted 5 lines
drivers/xen/Kconfig +1
-2config XEN_BACKEND bool "Backend driver support" - depends on XEN_DOM0 - default y + default y if XEN_DOM0Why not the simpler "default
XEN_DOM0"?
I didn't realize you could do that. :) Yes, that's nicer.
Thanks,
Jason
drivers/xen/Kconfig config XEN_DEV_EVTCHN · line 104
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 20.09.18 at 16:32, <[email protected]> wrote:
drivers/xen/Kconfig +1
-2@@ -101,8 +101,7 @@ config XEN_DEV_EVTCHN config XEN_BACKEND bool "Backend driver support" - depends on XEN_DOM0 - default y + default y if XEN_DOM0
Why not the simpler "default XEN_DOM0"?
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel