From patchwork Wed Dec 14 05:19:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 13072798 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3589AC4332F for ; Wed, 14 Dec 2022 05:20:12 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.461681.719839 (Exim 4.92) (envelope-from ) id 1p5KBU-0002hT-EJ; Wed, 14 Dec 2022 05:20:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 461681.719839; Wed, 14 Dec 2022 05:20:00 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1p5KBU-0002hI-9l; Wed, 14 Dec 2022 05:20:00 +0000 Received: by outflank-mailman (input) for mailman id 461681; Wed, 14 Dec 2022 05:19:59 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1p5KBT-0001q7-2o for xen-devel@lists.xen.org; Wed, 14 Dec 2022 05:19:59 +0000 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [2607:f8b0:4864:20::1030]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id f31f6701-7b6e-11ed-8fd2-01056ac49cbb; Wed, 14 Dec 2022 06:19:58 +0100 (CET) Received: by mail-pj1-x1030.google.com with SMTP id q17-20020a17090aa01100b002194cba32e9so5979963pjp.1 for ; Tue, 13 Dec 2022 21:19:58 -0800 (PST) Received: from localhost ([122.172.87.149]) by smtp.gmail.com with ESMTPSA id n15-20020a170902d2cf00b00186b0ac12c5sm792489plc.172.2022.12.13.21.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 21:19:56 -0800 (PST) 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: f31f6701-7b6e-11ed-8fd2-01056ac49cbb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OIMHWod3nlZXI5RU0uCiLAkBPk1CCoIYR7gbpGQe3bE=; b=I2KLF4quE9jLfiKGrHkVnyQVFA+AAPT0vwH+Jt3+Ku+2jgo+tm92L/QRDknTVoncr6 szAdhhUWE7qhyCJVAZXBgT4QA/6lFJuJ5PAUzDIMeLxyeSw64es3rSrYs4odftUsJXAH 48M4r19WWUqx4YTXLS8RaGcaiNZUtrpFt/dgKKE8r7a8kHBMet17K0nBcp/GadsfS/Dj ViKAbiIINOzMrC3xT3obh9GeY1IgSlF0YznlLqxm2M7PH0to4XVH++xMYYi6XvMlDVJa +xekvCrsS35BjnwK8miXspysA5R3V73uLofOyv9f0+ld9h56A0s+7pP6z2UZEsZpn3L/ rPHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OIMHWod3nlZXI5RU0uCiLAkBPk1CCoIYR7gbpGQe3bE=; b=c0dqXMgJk7xGIWCd8n0wHtWiOk/eJrwV63oqbHN8cYjGWBW/2fXmo47SJsKmsDmpW4 WYkxqNGO+F6q/iuxuofOpKlIpbRuX8oFXU8sl0ACAI6L9QS5kDYXCuuv0UifpJpXOwMb 24jf5SVbcEHYCETmbAg6mqWmRZGZf3cDSVG0et/5zv1N+S8nfNVGwS6UZcsAZSt4AKFg /HCAlXrUcLHWb7ODiFsRNLFmOQLORCwej9mBiGdVMOy4sZw/TTW5yocROqBKB9/cIOwz 5goSvQ16nmAT8kGi9nTOfuAKIi5OlHrN0QRqTynlRHeZqL+X6TJMha46MuOm02ltl8bR TwPw== X-Gm-Message-State: ANoB5pnLAVuHeRz71NnHzCpS019f/IBV9tV/x7HbHIEoLiiqnnMYxLcE DtzHoNHvhGYZYZWlmC8gjSjbbobMG18JQkeu X-Google-Smtp-Source: AA0mqf44Zwb8GAsu21BUerAIW1rTTs3xTs7nTZPbVYXwjbZeEN0JomGGYp9AeJ0rEByrUEx++MwdTQ== X-Received: by 2002:a17:902:c454:b0:189:fba2:3756 with SMTP id m20-20020a170902c45400b00189fba23756mr20937187plm.66.1670995196857; Tue, 13 Dec 2022 21:19:56 -0800 (PST) From: Viresh Kumar To: xen-devel@lists.xen.org, Juergen Gross , Julien Grall , Anthony PERARD Cc: Viresh Kumar , Vincent Guittot , stratos-dev@op-lists.linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Stefano Stabellini , Mathieu Poirier , Mike Holmes , Oleksandr Tyshchenko , Wei Liu , Oleksandr Tyshchenko Subject: [PATCH V10 3/3] docs: Add documentation for generic virtio devices Date: Wed, 14 Dec 2022 10:49:42 +0530 Message-Id: X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 In-Reply-To: References: MIME-Version: 1.0 This patch updates xl.cfg man page with details of generic Virtio device related information. Signed-off-by: Viresh Kumar Reviewed-by: Anthony PERARD Reviewed-by: Oleksandr Tyshchenko --- docs/man/xl.cfg.5.pod.in | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/man/xl.cfg.5.pod.in b/docs/man/xl.cfg.5.pod.in index ec444fb2ba79..024bceeb61b2 100644 --- a/docs/man/xl.cfg.5.pod.in +++ b/docs/man/xl.cfg.5.pod.in @@ -1585,6 +1585,39 @@ Set maximum height for pointer device. =back +=item B + +Specifies the Virtio devices to be provided to the guest. + +Each B is a comma-separated list of C settings +from the following list. As a special case, a single comma is allowed in the +VALUE of the "type" KEY, where the VALUE is set with "virtio,device". + +=over 4 + +=item B + +Specifies the backend domain name or id, defaults to dom0. + +=item B + +Specifies the compatible string for the specific Virtio device. The same will be +written in the Device Tree compatible property of the Virtio device. For +example, "type=virtio,device22" for the I2C device, whose device-tree binding is +present here: + +L + +For generic virtio devices, where we don't need to set special or compatible +properties in the Device Tree, the type field must be set to "virtio,device". + +=item B + +Specifies the transport mechanism for the Virtio device, only "mmio" is +supported for now. + +=back + =item B B Set TEE type for the guest. TEE is a Trusted Execution