From nobody Sat Nov 15 11:12:57 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=1753354856; cv=none; d=zohomail.com; s=zohoarc; b=mhQp+RXO6IjJ02HEJkn2V71/k4F22szgW1wPdimYVk/Nhsv0WgiT9gHRlhFKuIdY8J6RVG5hl1MRyNl44FK3SzJVB+kxkAZAc12VTr6mGp8C6p/4yYExh26VP18z4nBeQhMSy5XDt6/s1T1sDldOdFEcpxFDGXjLtiQ/gqE5Exc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1753354856; 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=7iTbOkoML9iQCshUrP18Abi3U+8iyM74A5UM1y7IVCA=; b=iZqhkWzR+vTKoCqfNaq2j2wKtjOlyo7P3kF0ZJ0uCnaUvtw4NRP7XZcnt/4lFspOqmAZseqQl8VHGaw7tEdMi2KR5Ll14gcmj7A6gIg2p0vgnulxVL6kTr+DBBy7Ww6GdRs4IWGroVwRYCfXo/WP6vbn/sZRNgWwnihbwTU+Ebo= 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 1753354856599983.4470199463951; Thu, 24 Jul 2025 04:00:56 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uetfz-0007Li-ML; Thu, 24 Jul 2025 06:59:51 -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 1uetfw-0007GY-4o for qemu-devel@nongnu.org; Thu, 24 Jul 2025 06:59:48 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uetfu-0007xp-Hv for qemu-devel@nongnu.org; Thu, 24 Jul 2025 06:59:47 -0400 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-ae401ebcbc4so140149966b.1 for ; Thu, 24 Jul 2025 03:59:46 -0700 (PDT) Received: from draig.lan ([185.126.160.19]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-af47f44dba8sm93964766b.71.2025.07.24.03.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jul 2025 03:59:40 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 4AB535F8B5; Thu, 24 Jul 2025 11:59:40 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1753354785; x=1753959585; 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=7iTbOkoML9iQCshUrP18Abi3U+8iyM74A5UM1y7IVCA=; b=uY4ILHzJttxc+T5bEmRlz8RPwXK2sUC5RMzDUz1LqMQ5EDX1mf2ba/CFmgAMI0qPoW fnd4874oIkZuuIPWQwWLNDIOQq4fzkMYTDHpwmB/Ca0375ZeJa3KQXTM5+HefMzAO9xd iaX77K5QIuo0k50DEUFx5KMowpdMOXvvKTXKtNNcPl1dfd0ZayDiQYP7fBbmQMBFvepG apwJwSPkhk4MvsLS49JSq2N5f594VHnG70KqVLfroc2QhSVWkJraiW8ZHf/5Z73tKTgg FBVJFQw9S1GyHzgS/rrpM/l2mH5AAA12LBWCKGPStZhR+dEm5lOS3dOjU8jui6qZb3fJ 7owA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753354785; x=1753959585; 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=7iTbOkoML9iQCshUrP18Abi3U+8iyM74A5UM1y7IVCA=; b=nEnsVvRTKnVwFP5Pi+Tcb3/OZ41Jd9cNqz6sMPVYhrdwmURYeQbdIPWfmstUucEcCl TF6e+0KOTx2+9DFebBm5m/3BEvTM6dC4U4r2NCYlFCxYrQfahhiCkp+pIZIivyyA/EUH 0Ma8akUR1QVsu2BsLWIGu7JvprsrElbciFOG6Sb3adr8oWN76Ht80+abjaUl+4kfi4KI qno8fC6hhhaMmmlThR6Adf7RVrgb4BIweZFpkLwpsQzHY3CbQ+ZypXskgDqXmr1Argwl +M+u9ypL5x3NFcXcaWK50DjcUKyHbGeiah8s43+170CZLJgj8ZeNYJNuMj8LeROayD/G BiNw== X-Gm-Message-State: AOJu0YwUXZJvC6XwV/Gxvw5xkv1s1bZXP88/W9u9Ns+SZXBlYeHBm3Nd G4+/m2aTpnzdba3tul4+ZyzRum6AupPBcp2Mjob6fItp0IgvvK/51BtWAPqpJzvRmYg= X-Gm-Gg: ASbGncsz4jQhUWcs992wD5U1HYyuit00r0UUcDYthq+hT1e6FfO8da0rflBnmtfCAO2 ISlNcYn5yFnzu/vRXAHur0UCLALxF0U1HTsm6OuWN6jwt8eUhuShp8a5+jzSzfG/5omNJosIDls vZNoFQ6kGQe/bh9amezw1DuO+ZWuGWe+mIxz/RCzrtEwHuqQsbQebUbZdulyzHguSieSdFcj8eB +DDX2IZFiRAVQGi2M+WJTk/uQtO/qaFE/K5TFT1dZdMMoy/3Rg9mZrQfXnMZZl0FG6XhTVJHZ2D HE1aJFB9ciV/MkcgwB8U01Qon/mi4ymqsH786F/W3kWGi9umW0y7DtzPp3yspYxloVstDygD1A/ 1rnroKS7sZ0m4jzf2Lwephac= X-Google-Smtp-Source: AGHT+IEndWxu5GGgdiiwOXzIzp6BmevD9l+niY3p+ASoR9rLtOsy6dM4DelBCD6y6XB1HqNjHq1VyA== X-Received: by 2002:a17:907:738a:b0:aed:745:a139 with SMTP id a640c23a62f3a-af2f88628b2mr470457866b.33.1753354784744; Thu, 24 Jul 2025 03:59:44 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , Thomas Huth Subject: [PATCH for 10.1 04/13] docs/user: slightly reword section on system calls Date: Thu, 24 Jul 2025 11:59:30 +0100 Message-ID: <20250724105939.2393230-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250724105939.2393230-1-alex.bennee@linaro.org> References: <20250724105939.2393230-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::62b; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62b.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: 1753354857812116600 Expand the description slightly and quote ioctl(). I did ponder mentioning something about why DRM ioctls are often missing but I see we have the I915 ones so I guess its just no one has done them. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Manos Pitsidianakis --- docs/user/main.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/user/main.rst b/docs/user/main.rst index b8ff203c212..05de904225c 100644 --- a/docs/user/main.rst +++ b/docs/user/main.rst @@ -20,10 +20,14 @@ QEMU user space emulation has the following notable fea= tures: System call translation ~~~~~~~~~~~~~~~~~~~~~~~ =20 -QEMU includes a generic system call translator. This means that the -parameters of the system calls can be converted to fix endianness -and 32/64-bit mismatches between hosts and targets. IOCTLs can be -converted too. +System calls are the principle interface between user-space and the +kernel. Generally the same system calls exist on all versions of the +kernel so QEMU includes a generic system call translator. The +translator takes care of adjusting endianess, 32/64 bit parameter size +and then calling the equivalent host system call. + +QEMU can also adjust device specific ``ioctl()`` calls in a similar +fashion. =20 POSIX signal handling ~~~~~~~~~~~~~~~~~~~~~ --=20 2.47.2