From nobody Fri Nov 29 17:38:12 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1633666409; cv=none; d=zohomail.com; s=zohoarc; b=JV+CDQ9CTWie+6g2zMFDjGhef/O0tJo74dYCqZdkOsigXQXS1TcARXjKNkVdDDqYGgJNZC8O6msGO5F/4ltEyBPLYXvKkTFcm/2Jol7ZdUOye711laXvkYm94LiiVB6HY+XwDhBiQnYlObLfQB4um1g0CN2qkM84OHxyZcCKfE0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1633666409; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=LtUo9sTo1YMnKekRV5cR43FFb2t/tyjbt+ypinT/AEg=; b=A/oghfGjPFY1bSXCSGbh+2IuQcOw093IoAUZkb1cXnn6qQWy3F07O7F98+BfIIEaoNdYqsdLx3rHMqzH4uKOeUa4bPleKb0q62JDlrT4mYDxPUZRws7OQ6w9P+5x45vfQL6LJOMQ/vxR5D5NEjAKA5RSp3PFSp3/5pMbTGLYh1M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 163366640992076.12151928813591; Thu, 7 Oct 2021 21:13:29 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.204319.359449 (Exim 4.92) (envelope-from ) id 1mYhFs-00066E-TN; Fri, 08 Oct 2021 04:13:08 +0000 Received: by outflank-mailman (output) from mailman id 204319.359449; Fri, 08 Oct 2021 04:13:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mYhFs-000667-Om; Fri, 08 Oct 2021 04:13:08 +0000 Received: by outflank-mailman (input) for mailman id 204319; Fri, 08 Oct 2021 04:13:07 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mYhFr-000661-Jc for xen-devel@lists.xenproject.org; Fri, 08 Oct 2021 04:13:07 +0000 Received: from mail-qk1-x729.google.com (unknown [2607:f8b0:4864:20::729]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 93aba899-0bd5-4b70-8847-6d0490c11ff3; Fri, 08 Oct 2021 04:13:06 +0000 (UTC) Received: by mail-qk1-x729.google.com with SMTP id z40so6855093qko.7 for ; Thu, 07 Oct 2021 21:13:06 -0700 (PDT) Received: from walnut.ice.pyrology.org (mobile-166-176-184-109.mycingular.net. [166.176.184.109]) by smtp.gmail.com with ESMTPSA id c76sm1167189qke.83.2021.10.07.21.13.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 21:13:05 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 93aba899-0bd5-4b70-8847-6d0490c11ff3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LtUo9sTo1YMnKekRV5cR43FFb2t/tyjbt+ypinT/AEg=; b=pfZXH4bGNQmJMUVBq+gFkS1ggD0yliL4hK6qLPNL/3OgUH8KcEyqzyjVRn39ZNctKv fTOwOJTcYN177yn7/+5Jecxs/0hhsEOjjNTIgWoBk/CIIBSOXk1Ax27Hf3GsWra7K0Up xDR5a1xwVFxl4o2crdVvimIfz/a89cEwgvm0KO7GFjJOjAtUGnE3g74kAYABkZGVTKcU H7NWGfKwxmTz6x8LUbT5FsgH5QYmIButVwYAS4wEL8PWy/qtiuX9uBqHMDf7QPt+glqP C4VpIHasRfaNPL1WHWzwhgGvtoe7tADFatyr2Z6SV+/fU6LoqUJnd968As8wIWGrS9RM /WvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LtUo9sTo1YMnKekRV5cR43FFb2t/tyjbt+ypinT/AEg=; b=tAwwkFdKJEs9w/q3l9a/vUmPG545JRmIElYeThZfnSDxotSHtBQwWsOU/aQX7QDx56 oxMtiESgw5aSoPj4LcnpTSo+l45AriGubrM8h6MnNl6zhUN0XFaKsSHUEW2vkqTMXLVV Ingh/TSERjFNGD+lh3gtpTzptWpIEwPRU3JRPen4tou9wcs4qYB1+7vP4iCBdlmI6AGK xmqgqKhzhyPnrgu6pJi4PoPzw+o4K4d5QtvjTGc7K6aXocowMFrrV4s+T9PnvTJMHE+H cGD4NevAXNNCgcGj2liHwdL+NZ5Gziy6xTz56fYN/OIllbBvsg3VmEETk1uLjLwyCST3 fMtA== X-Gm-Message-State: AOAM533KMXWBfwwn9PubWo7QVs9M7zTSflIxr9FtGuQGZ7TtVf3rhQ4K FIKjQDnGoIkSZbL6nh+GTlGiAyLS50TQug== X-Google-Smtp-Source: ABdhPJxOjATEY73JNlODHT98Df7cljPMZBUgJLILAvKA6BUO2HQRsSay1RcC/xRP+WIxGM6r+d5b6w== X-Received: by 2002:a37:45c8:: with SMTP id s191mr1038033qka.355.1633666386158; Thu, 07 Oct 2021 21:13:06 -0700 (PDT) From: Christopher Clark To: xen-devel@lists.xenproject.org Cc: Andrew Cooper , George Dunlap , Ian Jackson , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu , Rich Persaud , Daniel Smith , Jason Andryuk , Eric Chanudet , openxt@googlegroups.com Subject: [PATCH] docs: add references to Argo Linux driver sources and information Date: Thu, 7 Oct 2021 21:12:41 -0700 Message-Id: <20211008041241.227823-1-christopher.w.clark@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1633666411935100001 Content-Type: text/plain; charset="utf-8" Add a section to the Argo design document to supply guidance on how to enable Argo in Xen and where to obtain source code and documentation for Argo device drivers for guest OSes, primarily from OpenXT. Signed-off-by: Christopher Clark Reviewed-by: Bertrand Marquis --- docs/designs/argo.pandoc | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/designs/argo.pandoc b/docs/designs/argo.pandoc index 2ce253b654..74c8ae4ac7 100644 --- a/docs/designs/argo.pandoc +++ b/docs/designs/argo.pandoc @@ -439,6 +439,51 @@ that teardown of any domain will not interfere with an= y Argo hypercall operation. It enables introducing granular locking without complex or error-prone lock acquisition logic. =20 +# Related Material + +## Enabling Argo in Xen + +To enable Argo in a build of the Xen hypervisor, please ensure that +CONFIG_ARGO is enabled in the Xen hypervisor build configuration file. + +To make Argo available for use at runtime on a Xen system, please see the +Argo settings in the Xen command line document. + +## Linux Argo drivers + +A Linux kernel device driver for Argo and corresponding Linux userspace +software, libargo, that utilizes it for interdomain communication between +application level software is available and maintained by the OpenXT Proje= ct, +at: + +https://github.com/OpenXT/linux-xen-argo + +The repository contains the primary Linux kernel Argo driver, which is der= ived +from the original XenClient v4v driver. The document at the following link +describes planning and design notes from OpenXT community discussion for +improvements to the driver: + +https://openxt.atlassian.net/wiki/spaces/DC/pages/775389197/New+Linux+Driv= er+for+Argo + +An alternative Linux Argo driver is in also available in the same reposito= ry, +implemented to explore a different approach for Linux to use the Argo +primitives under the Vsock address family to allow socket communication be= tween +Xen domains. + +## v4v drivers + +A Windows driver for v4v has previously been used in XenClient and OpenXT +which could be ported to Argo. It may require update for compatibility with +recent versions of Windows software. + +https://github.com/OpenXT/xc-windows/tree/master/xenv4v + +The Linux, Windows and OSX guest tools for the Open Source HP uxen hypervi= sor +contain drivers for v4v which are relevant as code bases of interest for +porting or developing new guest OS drivers for Argo. + +https://github.com/uxen-virt/uxen/tree/ascara/vm-support + # Future Work =20 - Performance measurement and optimization --=20 2.25.1