* [PATCH v2] xen: Make XEN_BACKEND selectable by DomU
@ 2018-09-25 11:36 Jason Andryuk
2018-09-25 21:12 ` Boris Ostrovsky
0 siblings, 1 reply; 2+ messages in thread
From: Jason Andryuk @ 2018-09-25 11:36 UTC (permalink / raw)
To: Boris Ostrovsky, Juergen Gross
Cc: Jan Beulich, Jason Andryuk, xen-devel, linux-kernel
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>
---
v2: omit superfluous "y if" per Jan Beulich
---
drivers/xen/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index b459edfacff3..692e82fcad1f 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -101,8 +101,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.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] xen: Make XEN_BACKEND selectable by DomU
2018-09-25 11:36 [PATCH v2] xen: Make XEN_BACKEND selectable by DomU Jason Andryuk
@ 2018-09-25 21:12 ` Boris Ostrovsky
0 siblings, 0 replies; 2+ messages in thread
From: Boris Ostrovsky @ 2018-09-25 21:12 UTC (permalink / raw)
To: Jason Andryuk, Juergen Gross; +Cc: Jan Beulich, xen-devel, linux-kernel
On 9/25/18 7:36 AM, Jason Andryuk wrote:
> 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>
Applied to for-linus-19d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-25 21:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 11:36 [PATCH v2] xen: Make XEN_BACKEND selectable by DomU Jason Andryuk
2018-09-25 21:12 ` Boris Ostrovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).