Re: [Xen-devel] [PATCH v6 13/13] xen: introduce a Kconfig option to enable the pvcalls frontend

2017-10-25 Thread Stefano Stabellini
On Wed, 25 Oct 2017, Boris Ostrovsky wrote:
> On 10/24/2017 01:33 PM, Stefano Stabellini wrote:
> > Also add pvcalls-front to the Makefile.
> >
> > Signed-off-by: Stefano Stabellini 
> > CC: boris.ostrov...@oracle.com
> > CC: jgr...@suse.com
> > ---
> >  drivers/xen/Kconfig  | 9 +
> >  drivers/xen/Makefile | 1 +
> >  2 files changed, 10 insertions(+)
> >
> > diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
> > index 4545561..0b2c828 100644
> > --- a/drivers/xen/Kconfig
> > +++ b/drivers/xen/Kconfig
> > @@ -196,6 +196,15 @@ config XEN_PCIDEV_BACKEND
> >  
> >   If in doubt, say m.
> >  
> > +config XEN_PVCALLS_FRONTEND
> > +   tristate "XEN PV Calls frontend driver"
> > +   depends on INET && XEN
> > +   help
> > + Experimental frontend for the Xen PV Calls protocol
> > + (https://xenbits.xen.org/docs/unstable/misc/pvcalls.html). It
> > + sends a small set of POSIX calls to the backend, which
> > + implements them.
> 
> default n ?
> 
> (and maybe select XEN_XENBUS_FRONTEND)

Yes, good ideas, I'll add


> > +
> >  config XEN_PVCALLS_BACKEND
> > bool "XEN PV Calls backend driver"
> > depends on INET && XEN && XEN_BACKEND
> > diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
> > index 480b928..afb9e03 100644
> > --- a/drivers/xen/Makefile
> > +++ b/drivers/xen/Makefile
> > @@ -39,6 +39,7 @@ obj-$(CONFIG_XEN_EFI) += efi.o
> >  obj-$(CONFIG_XEN_SCSI_BACKEND) += xen-scsiback.o
> >  obj-$(CONFIG_XEN_AUTO_XLATE)   += xlate_mmu.o
> >  obj-$(CONFIG_XEN_PVCALLS_BACKEND)  += pvcalls-back.o
> > +obj-$(CONFIG_XEN_PVCALLS_FRONTEND) += pvcalls-front.o
> >  xen-evtchn-y   := evtchn.o
> >  xen-gntdev-y   := gntdev.o
> >  xen-gntalloc-y := gntalloc.o
> 

___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


Re: [Xen-devel] [PATCH v6 13/13] xen: introduce a Kconfig option to enable the pvcalls frontend

2017-10-25 Thread Boris Ostrovsky
On 10/24/2017 01:33 PM, Stefano Stabellini wrote:
> Also add pvcalls-front to the Makefile.
>
> Signed-off-by: Stefano Stabellini 
> CC: boris.ostrov...@oracle.com
> CC: jgr...@suse.com
> ---
>  drivers/xen/Kconfig  | 9 +
>  drivers/xen/Makefile | 1 +
>  2 files changed, 10 insertions(+)
>
> diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
> index 4545561..0b2c828 100644
> --- a/drivers/xen/Kconfig
> +++ b/drivers/xen/Kconfig
> @@ -196,6 +196,15 @@ config XEN_PCIDEV_BACKEND
>  
> If in doubt, say m.
>  
> +config XEN_PVCALLS_FRONTEND
> + tristate "XEN PV Calls frontend driver"
> + depends on INET && XEN
> + help
> +   Experimental frontend for the Xen PV Calls protocol
> +   (https://xenbits.xen.org/docs/unstable/misc/pvcalls.html). It
> +   sends a small set of POSIX calls to the backend, which
> +   implements them.

default n ?

(and maybe select XEN_XENBUS_FRONTEND)

-boris

> +
>  config XEN_PVCALLS_BACKEND
>   bool "XEN PV Calls backend driver"
>   depends on INET && XEN && XEN_BACKEND
> diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
> index 480b928..afb9e03 100644
> --- a/drivers/xen/Makefile
> +++ b/drivers/xen/Makefile
> @@ -39,6 +39,7 @@ obj-$(CONFIG_XEN_EFI)   += efi.o
>  obj-$(CONFIG_XEN_SCSI_BACKEND)   += xen-scsiback.o
>  obj-$(CONFIG_XEN_AUTO_XLATE) += xlate_mmu.o
>  obj-$(CONFIG_XEN_PVCALLS_BACKEND)+= pvcalls-back.o
> +obj-$(CONFIG_XEN_PVCALLS_FRONTEND)   += pvcalls-front.o
>  xen-evtchn-y := evtchn.o
>  xen-gntdev-y := gntdev.o
>  xen-gntalloc-y   := gntalloc.o


___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


[Xen-devel] [PATCH v6 13/13] xen: introduce a Kconfig option to enable the pvcalls frontend

2017-10-24 Thread Stefano Stabellini
Also add pvcalls-front to the Makefile.

Signed-off-by: Stefano Stabellini 
CC: boris.ostrov...@oracle.com
CC: jgr...@suse.com
---
 drivers/xen/Kconfig  | 9 +
 drivers/xen/Makefile | 1 +
 2 files changed, 10 insertions(+)

diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index 4545561..0b2c828 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -196,6 +196,15 @@ config XEN_PCIDEV_BACKEND
 
  If in doubt, say m.
 
+config XEN_PVCALLS_FRONTEND
+   tristate "XEN PV Calls frontend driver"
+   depends on INET && XEN
+   help
+ Experimental frontend for the Xen PV Calls protocol
+ (https://xenbits.xen.org/docs/unstable/misc/pvcalls.html). It
+ sends a small set of POSIX calls to the backend, which
+ implements them.
+
 config XEN_PVCALLS_BACKEND
bool "XEN PV Calls backend driver"
depends on INET && XEN && XEN_BACKEND
diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
index 480b928..afb9e03 100644
--- a/drivers/xen/Makefile
+++ b/drivers/xen/Makefile
@@ -39,6 +39,7 @@ obj-$(CONFIG_XEN_EFI) += efi.o
 obj-$(CONFIG_XEN_SCSI_BACKEND) += xen-scsiback.o
 obj-$(CONFIG_XEN_AUTO_XLATE)   += xlate_mmu.o
 obj-$(CONFIG_XEN_PVCALLS_BACKEND)  += pvcalls-back.o
+obj-$(CONFIG_XEN_PVCALLS_FRONTEND) += pvcalls-front.o
 xen-evtchn-y   := evtchn.o
 xen-gntdev-y   := gntdev.o
 xen-gntalloc-y := gntalloc.o
-- 
1.9.1


___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel