From nobody Sun Sep 28 17:07:45 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1756831914; cv=none; d=zohomail.com; s=zohoarc; b=PShP+YcGiTtjbJ3DsVxjmZs9jNn7oczqMMIJCdHmdaM4KqzqeLbmB9HI11QF+IEGqBQDYCIFu5s8NUJo2R7f3wsx4UoHhyqx/azTCjgAcQyi96lbJTEPkcKtTGKxBcWdkkJG1VzST7Yw5TvijseVhz/FF5NZ5WrTlYLfBFoMulc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1756831914; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gjXCcr5SxY559gyNm3UTAVjtJgfAK9rwGGuds/G0kqg=; b=agBqpFMjJXXPI3GFThezD3Mn9pPc+E6JSPV8JvixjNt1a6gKqtyCS4XJP1nCa2zq0nkSFNgX2WyQ+5WQCX48lKAHZTxB5VYmMpnCZGHMf5A03cv9qKseeKcMZFNPJnkHf7iRaTHjAN3o/b11H/DxYRj5xo9MRvI3xyHXHXxkCa8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1756831914117772.0904397492847; Tue, 2 Sep 2025 09:51:54 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1utUDi-0008G0-Fw; Tue, 02 Sep 2025 12:50:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1utUDg-0008F2-M5 for qemu-devel@nongnu.org; Tue, 02 Sep 2025 12:50:56 -0400 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1utUDd-0004Q1-Rj for qemu-devel@nongnu.org; Tue, 02 Sep 2025 12:50:55 -0400 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-6188b7550c0so6821999a12.2 for ; Tue, 02 Sep 2025 09:50:53 -0700 (PDT) Received: from draig.lan ([185.126.160.19]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61cfc1c7a27sm10059861a12.10.2025.09.02.09.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Sep 2025 09:50:49 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id E618A5F8DC; Tue, 02 Sep 2025 17:50:48 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756831852; x=1757436652; darn=nongnu.org; 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=gjXCcr5SxY559gyNm3UTAVjtJgfAK9rwGGuds/G0kqg=; b=u2zdlewFuU7CfCt4Rj8lYbkfotr3IurGdYNmFUMVBH7OdVP7P4BeePIau+x6yJRWlC /G/qRYsUi+oXbZMUvxBHdG/UcnKeNeExk8ocOqd6t8yLtsYTyrZEK6F74UKifT094rrY FA4ntRqldjfAa+n5arZCKywY2HTZv7nIVhZUXag8w99MptPzPqnrduq8mobYA3g3Bd8+ veUQyLJG7j5NmdT328SSc8YauhO2Ba9sfHBCiBkLm4KR0SXDyvG+wqThY2BH31VjSkzu dqrWTQKF0EIIXeDI6Tl2Ya1374+Ne5wsOZsaWg+qRIBBHr9KHOJHHyAabSR4RY1vLUWB 9DdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756831852; x=1757436652; 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=gjXCcr5SxY559gyNm3UTAVjtJgfAK9rwGGuds/G0kqg=; b=YoDh4zvwfo9NY392ZrixMObSTOD5CecTfb+JVTwmJoKlEXJcOfCu6BaEc5uopqJsdn SBkBkEFYiZqh035corFmATHAwvGCKbwmGitsZCvVXTNpoJ6JpEmHVrwMOSihFXHBvSZi ZWpbXY3EqbqLwjwTHRjaeXQ1yKkefRs928Kj6lS2G1/DAeE8Du/FhJYV708RgRFFAIBu Ob2bWV+nL+xc7ax5m/cw7pQE7aQBG8Ho+/Ui/YTeZJYouEN3oM4lCTlhzC/vFHGq8xFk h7g5x5gMpoyLmHL7MJto1AHIin8/SOROTdACdQMzVXiMIJgiDkf5FbGZCvGgXg8y9pKG ZkHQ== X-Gm-Message-State: AOJu0YxkfN5IHX4ZNMyPsl1VR4JaVNF900VsD2CEqrFpewI87qWpQY0I ltkHOjn4i0B/18Q5G1ViBT0rpRwRZCfifo3Gjqsb8CM4j6Ej98rEDYgleh4q1gJXVBo= X-Gm-Gg: ASbGnctV3El1Hd+jdfCyMt6aDZDVbaM9GBpKwQ8O9x7mqOZCaCrLJOZHYtkZgrGOw4N hKze6c4roKFPY8JTR0gEBeN7rsjrIJ+HJNBckfeuTdd4MEXcm2S1KUJ2T8M8EV1O5/VU54J4etF 5EsWx10vwnRdixhtuSRnAoCueEPQU/kYz/daNiSA2lfpJvhq8NZxd4swtLwyVK0PWZApU2JU/si mG421T6lqNwzBnFjcNm4O/IsHt23jwt8PaQxJSsA5EfwNYr7fYv6jw1WaB6PeaOfDhfoquwN23B 7+57R5KIw+/OtieYeKdQXUteSfgFEfqS8UK7x7zw4JxCeU9bnbEUEA/KJlWZTJ0NhAWH1PKB+Mb Hfi/G2JAYnwepOHbOs/hTCQpIiYf41mrFXQ== X-Google-Smtp-Source: AGHT+IGOWt+NRiEMdKqSQlZDyXZvX9DyYW6Kaunul6gvZvz4hzTLGgTUuOGkHtj4o9YgUkZukTY44g== X-Received: by 2002:a05:6402:90c:b0:61c:61bb:e836 with SMTP id 4fb4d7f45d1cf-61d26988ecdmr9711708a12.11.1756831852056; Tue, 02 Sep 2025 09:50:52 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Thanos Makatos , John Levon , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH 3/4] docs/system: drop vhost-user-rng docs Date: Tue, 2 Sep 2025 17:50:47 +0100 Message-ID: <20250902165048.1653323-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250902165048.1653323-1-alex.bennee@linaro.org> References: <20250902165048.1653323-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1756831914648116600 This is a fairly lightweight document which doesn't add much to the general advice in vhost-user. Update the vhost-user docs to point directly at the rust-vmm repo. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: John Levon --- docs/system/devices/virtio/index.rst | 1 - docs/system/devices/virtio/vhost-user-rng.rst | 41 ------------------- docs/system/devices/virtio/vhost-user.rst | 2 +- 3 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 docs/system/devices/virtio/vhost-user-rng.rst diff --git a/docs/system/devices/virtio/index.rst b/docs/system/devices/vir= tio/index.rst index bb44b14423e..7f931737cc1 100644 --- a/docs/system/devices/virtio/index.rst +++ b/docs/system/devices/virtio/index.rst @@ -25,6 +25,5 @@ can also be off-loaded to an external process via :ref:`v= host user virtio-snd.rst vhost-user.rst vhost-user-input.rst - vhost-user-rng.rst =20 .. _VirtIO specification: https://docs.oasis-open.org/virtio/virtio/v1.3/v= irtio-v1.3.html diff --git a/docs/system/devices/virtio/vhost-user-rng.rst b/docs/system/de= vices/virtio/vhost-user-rng.rst deleted file mode 100644 index ead14053264..00000000000 --- a/docs/system/devices/virtio/vhost-user-rng.rst +++ /dev/null @@ -1,41 +0,0 @@ -.. _vhost_user_rng: - -QEMU vhost-user-rng - RNG emulation -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - -Background ----------- - -What follows builds on the material presented in vhost-user.rst - it should -be reviewed before moving forward with the content in this file. - -Description ------------ - -The vhost-user-rng device implementation was designed to work with a random -number generator daemon such as the one found in the vhost-device crate of -the rust-vmm project available on github [1]. - -[1]. https://github.com/rust-vmm/vhost-device - -Examples --------- - -The daemon should be started first: - -:: - - host# vhost-device-rng --socket-path=3Drng.sock -c 1 -m 512 -p 1000 - -The QEMU invocation needs to create a chardev socket the device can -use to communicate as well as share the guests memory over a memfd. - -:: - - host# qemu-system \ - -chardev socket,path=3D$(PATH)/rng.sock,id=3Drng0 \ - -device vhost-user-rng-pci,chardev=3Drng0 \ - -m 4096 \ - -object memory-backend-file,id=3Dmem,size=3D4G,mem-path=3D/dev/shm,s= hare=3Don \ - -numa node,memdev=3Dmem \ - ... diff --git a/docs/system/devices/virtio/vhost-user.rst b/docs/system/device= s/virtio/vhost-user.rst index bddf8df5ed5..9c9a28df380 100644 --- a/docs/system/devices/virtio/vhost-user.rst +++ b/docs/system/devices/virtio/vhost-user.rst @@ -45,7 +45,7 @@ platform details for what sort of virtio bus to use. - :ref:`vhost_user_input` * - vhost-user-rng - Entropy driver - - :ref:`vhost_user_rng` + - See https://github.com/rust-vmm/vhost-device * - vhost-user-scmi - System Control and Management Interface - See https://github.com/rust-vmm/vhost-device --=20 2.47.2