From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932601AbdJaRtP (ORCPT ); Tue, 31 Oct 2017 13:49:15 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:49839 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbdJaRtN (ORCPT ); Tue, 31 Oct 2017 13:49:13 -0400 Subject: Re: [PATCH v8 00/13] introduce the Xen PV Calls frontend To: Stefano Stabellini , xen-devel@lists.xen.org References: Cc: linux-kernel@vger.kernel.org, jgross@suse.com From: Boris Ostrovsky Message-ID: <8030da32-fe42-07a6-b74b-6e01d0be1743@oracle.com> Date: Tue, 31 Oct 2017 13:50:37 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/30/2017 06:40 PM, Stefano Stabellini wrote: > Hi all, > > this series introduces the frontend for the newly introduced PV Calls > procotol. > > PV Calls is a paravirtualized protocol that allows the implementation of > a set of POSIX functions in a different domain. The PV Calls frontend > sends POSIX function calls to the backend, which implements them and > returns a value to the frontend and acts on the function call. > > For more information about PV Calls, please read: > > https://xenbits.xen.org/docs/unstable/misc/pvcalls.html > > This patch series only implements the frontend driver. It doesn't > attempt to redirect POSIX calls to it. The functions exported in > pvcalls-front.h are meant to be used for that. A separate patch series > will be sent to use them and hook them into the system. > > > Changes in v8: > - cast to uintptr_t instead of uint64_t > - cast to uintptr_t before casting to struct sock_mapping* > - check return values of copy_from/to_iter > > > Stefano Stabellini (13): > xen/pvcalls: introduce the pvcalls xenbus frontend > xen/pvcalls: implement frontend disconnect > xen/pvcalls: connect to the backend > xen/pvcalls: implement socket command and handle events > xen/pvcalls: implement connect command > xen/pvcalls: implement bind command > xen/pvcalls: implement listen command > xen/pvcalls: implement accept command > xen/pvcalls: implement sendmsg > xen/pvcalls: implement recvmsg > xen/pvcalls: implement poll command > xen/pvcalls: implement release command > xen: introduce a Kconfig option to enable the pvcalls frontend > > drivers/xen/Kconfig | 11 + > drivers/xen/Makefile | 1 + > drivers/xen/pvcalls-front.c | 1277 +++++++++++++++++++++++++++++++++++++++++++ > drivers/xen/pvcalls-front.h | 28 + > 4 files changed, 1317 insertions(+) > create mode 100644 drivers/xen/pvcalls-front.c > create mode 100644 drivers/xen/pvcalls-front.h Applied to for-linus-4.15 -boris