From nobody Fri Apr 19 23:19:22 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=1633889904; cv=none; d=zohomail.com; s=zohoarc; b=No6KsqUOvLCbqe+NoG0uMHkVsiIjNlQhLb11l/33+wLRJT7z9aBqvHkzzXY3BtpvutSgoddaQK7QfgdVMBRQciNzKGTpBwEkxXky6jgMXhukaolWPbAoyJrKZl8sOqlwJ+lQsVYSEm5fizNVcPu5esu816a8Oo+C5cM6m0w8prY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1633889904; 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=OmZr8tAhhlb5VfxHgLq6UvIYtYcKLerkW54Z59ojch0=; b=mVEdYfrwKF8YhnGauIITx1VuCoNK5hFdo8p2qQVS/4Wwo3X0ucNfvW+vr3rEXh5QpVJpzuSDikPzPKEPS1pVEyLAJkjuqowzgKXMzOQ4LcGKUcnknOAtj6rX4lpGUdYY2Od6nspMPcw2VyMbYhSmOXIhA9+9OKX/AQ9s2W36PSo= 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 1633889904988778.9857205338468; Sun, 10 Oct 2021 11:18:24 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.205343.360610 (Exim 4.92) (envelope-from ) id 1mZdOP-0001xD-WF; Sun, 10 Oct 2021 18:17:50 +0000 Received: by outflank-mailman (output) from mailman id 205343.360610; Sun, 10 Oct 2021 18:17:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mZdOP-0001x6-T9; Sun, 10 Oct 2021 18:17:49 +0000 Received: by outflank-mailman (input) for mailman id 205343; Sun, 10 Oct 2021 18:17:48 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mZdOO-0001x0-O8 for xen-devel@lists.xenproject.org; Sun, 10 Oct 2021 18:17:48 +0000 Received: from mail-qv1-xf34.google.com (unknown [2607:f8b0:4864:20::f34]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 81855371-7551-479d-a8ef-29d5c1246ae8; Sun, 10 Oct 2021 18:17:47 +0000 (UTC) Received: by mail-qv1-xf34.google.com with SMTP id z3so9667004qvl.9 for ; Sun, 10 Oct 2021 11:17:47 -0700 (PDT) Received: from walnut.ice.pyrology.org (mobile-166-176-186-91.mycingular.net. [166.176.186.91]) by smtp.gmail.com with ESMTPSA id r16sm692286qtt.22.2021.10.10.11.17.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 11:17:46 -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: 81855371-7551-479d-a8ef-29d5c1246ae8 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=OmZr8tAhhlb5VfxHgLq6UvIYtYcKLerkW54Z59ojch0=; b=Ju7vt6ah2CfOUUYohH87jQs5MAN7RG87UenCPFV43wUac+dv1eRvSd51ulNvvvS6ZD ogkOcPRXGtHXZoMyPfBHHvdC8rqsXe5xtyqv9V6kG3nEM7tbQxXHHcckvF1zMO6kGYhq ky4H4w2uhzpkIne/GfMHwEHJZgRAlU1MCPUAYVBweWJTUe38Qjr4uUS+vVpyiI38KA/8 d2/ifC0KmSGX30/JYn0CeQKugFQALvdMGa0kAMuh7gW9PV35NdzETfB2hAG7ZrAy1/9E RsjUeKQr0NgtO/DhEzIZ7IqdA6HQ1V1AcLYHKmLvw0ufxv7PK8HbfnyqQQb8yGgeW0T+ e90g== 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=OmZr8tAhhlb5VfxHgLq6UvIYtYcKLerkW54Z59ojch0=; b=ZX6QZLmhfejkB4u9unKqaS/DRaYiBzY7UQy+lAoue7aEnmO2tiUEwIDfo6SJ+vq5ck 8I4A/7mo/11ePqlus83ndh6WMLFvWl3ykO/1YVvhRS6vxJXo2VsTAw8bsQwHhO+9XnEp Jm8JWN6R7KsHuVwAwIrebbhDhK52EXAvM9UM1qg5cJUyLC6w51qyvKU6PYWXJKCiIwMZ gMgBzskG7cMgfdpTQvU7YgFhVtbsL0qv2voRSsu+UM3ANXgiVqDiaoQMngpF/6QpVUKe DjUf5LsPEpRGOjxo7g8WGc0RqRsO3cTBDbjNHi0Qwp1cwOabqVBZT315ri0NbjwKLK7C aXpA== X-Gm-Message-State: AOAM532bSP3LzIOs/v8MtniE9fd7CC5B0zGh1LUEA7E5LVb0E/VB1qbJ Hg+dXi2K4hsm738FbQEnVwgzKmumZaJ1WA== X-Google-Smtp-Source: ABdhPJzamKDvnK5v3fBmA/vptcF7bH1lazP7LR7YTe9gZZwyr++VfkbJy1KsU2kFn9Qf4uLkz7MEJA== X-Received: by 2002:ad4:4e0b:: with SMTP id dl11mr2009527qvb.23.1633889866844; Sun, 10 Oct 2021 11:17:46 -0700 (PDT) From: Christopher Clark To: xen-devel@lists.xenproject.org Cc: Bertrand Marquis , 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 v2] docs: add references to Argo Linux driver sources and information Date: Sun, 10 Oct 2021 11:17:35 -0700 Message-Id: <20211010181735.406406-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: 1633889907061100001 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 --- Changes in v2: added R-by and fixed the two nits found in review: - removed an incorrect extra 'in' - refer to command line documentation rather than document docs/designs/argo.pandoc | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/designs/argo.pandoc b/docs/designs/argo.pandoc index 2ce253b654..e18aacea7c 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 documentation. + +## 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 also available in the same repository, +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