From patchwork Wed Jun 5 17:22:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 801596 Delivered-To: patch@linaro.org Received: by 2002:adf:cf0e:0:b0:35b:5a80:51b4 with SMTP id o14csp549629wrj; Wed, 5 Jun 2024 10:23:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX/fJ6fbAR+OfRxDQkqQEiyJwQ994QRlLwhuJu2tdAQI3OI12btVqkoA89sVw0BgO5I+7NJ9w3OaIp4OD+4kP/u X-Google-Smtp-Source: AGHT+IFmxcYKrujtJt33oiX9fU2Ecnor8mcrgpV4JXx8Tt//ZDYmSg6YlJuhX1K6pE4ETUDKt/MT X-Received: by 2002:a05:6102:2a46:b0:48b:a171:b162 with SMTP id ada2fe7eead31-48c0483e845mr3737955137.9.1717608220970; Wed, 05 Jun 2024 10:23:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717608220; cv=none; d=google.com; s=arc-20160816; b=gv2YfSqGb/xpKJi1ZcG1PfQEUiNZcw1DcrUfgEiuagzOEj66EmznTG8Wh6ixe9PPwp WGKDubJH560DjOpwlDXgnZjS+A8izZH/Uy4j23o0Ha7j7Ugt/uxTi2pYx9BOxG15QVuk i8vucjq6l00KREiXZvfnl50HusFb59Ef85Ikiqtf1eQ8EWr21qyn6OzubZjFQ4uLjoq2 6F4ZNtGbB3ztGZrvqfAkn640AqZ3kwi0QAmsoslNx4oyXfn6vXn79B/GwYXzW6hjwj/+ 2ls1FRKdxpDVq+9V1Y84O/s7ef41nTwloUl0rfccdrjr/Q0nsDZz7wrRrvYaRb9gI51S +IPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pN+qsqPGpYhww4jH+ML1rz71xdlmduezi6vORxR7A4w=; fh=3VaTg1ZR8ASkIeddRaLd17LW+IAVlefGY65gTpHVzt8=; b=viYANhi/J2dKyKQ1uaa6NL7LjS1okNWy441sHycwZbobIIJGy1kpIPkmLed0ZjA/AR G8HsVIUzSfNF10z11tauebBPPTWbpWddhcxXwAFOHMKnVspMV/ZLjkGcs91rKZJJLdc7 d1vTuOCN25HzSFbeCz37lyhL6Q8QTFuQ2azfuBGm463K6t5HblCSPX7/DTHQtkLG9h+n jAG3iOWcGxPbJTKSt2+yVPfaxTuv37uao77EsmwIJwMLIn70bfotVhq7wO27dcAOPCCm hTUtOaLMBaDgBcLnRhfI5SM6nbk/ESk+coCI1joPnQJFZr52e9Oj3DLweX8JkLmZis+w gStA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g0Q5v77k; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-48bbd00e365si1220232137.734.2024.06.05.10.23.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jun 2024 10:23:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g0Q5v77k; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEuLl-0005ny-Bf; Wed, 05 Jun 2024 13:23:01 -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 1sEuLj-0005nE-IZ for qemu-devel@nongnu.org; Wed, 05 Jun 2024 13:22:59 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEuLh-0003n9-Qh for qemu-devel@nongnu.org; Wed, 05 Jun 2024 13:22:59 -0400 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-681ad081695so20343a12.3 for ; Wed, 05 Jun 2024 10:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717608176; x=1718212976; 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=pN+qsqPGpYhww4jH+ML1rz71xdlmduezi6vORxR7A4w=; b=g0Q5v77k3NFcbar4tVnX9Q/mBy2lRdQPsmi4UFCZc/dS3+y3PR+YwXupuZIbjSAUOB /Z57BF+LAgUNwYFCDwel+WzpVkmloRrNGtIwHYQ8RGDeZqz7M0sL3gZDII+alrhJXkpb loqRrihYD2iXaWz8wH2KKlPGZjHP20HseBEBAzwUtDPqDlJWYuSOB8JBScIZMcfNDxEF rynRk+iZcR9XFDWBu8xUeZ4PWDcBf72WCWZ4Xor97Z3WKVn72SmUm5Dg5sKz6bZm2KjU ZaHZyyc6v3EvHyLhqtbaxGnfU8os1qotrT8eArmNy1tLyVIZGGSpkyeJKTOycb0QFcSj OOiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717608176; x=1718212976; 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=pN+qsqPGpYhww4jH+ML1rz71xdlmduezi6vORxR7A4w=; b=OTiINbCYgRfRMOcWpxzdSJcMrvBzgicOzzPmPz9dg0+d1YsGytNxTEE70e7oVBdxby Y4q7Ffuy0RZYPiOETOslAcU/EtTHvpG6gi6ws5oN6kyZ+QwT0H7XNQVg5dXNnMjsk7ON UQ5ZLnGFnCIao2VfQeDwHyLFSfsm4I3YvRuTueUZhRfuzh6NRpEKwEVITUX9Qr+GiDi7 XmqYRcbKIwLy8YyJd6/Ea7TdYzKXrA4VIcq9vKq6FBYPRpzL7Nz9WxPkzFZRntCxu9Rf TgAj3BjK11irbD/oXzm087RqICcITi/ZhB6/fTX4xXZ941yONLl9D8AmTZHb625wadvv D1Dw== X-Gm-Message-State: AOJu0YwgiK8om/dF2T4gRKsVY3PQSO7BLj1jL2iMw9ND2ht/UZdSrdKT 2uAxCSFSLSAUbU1AaUEYxNZ9lZwU2KZJkxBk3lQGDNoSihLyIAPb+6jjKarHGFVxUJDD2Sx4g8B s X-Received: by 2002:a17:90b:1110:b0:2c2:1372:6c81 with SMTP id 98e67ed59e1d1-2c27db0fdeamr3395335a91.15.1717608176081; Wed, 05 Jun 2024 10:22:56 -0700 (PDT) Received: from stoup.. ([71.212.132.216]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c28066d511sm1720915a91.9.2024.06.05.10.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:22:55 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Michael Vogt , Michael Vogt Subject: [PULL 01/38] linux-user: Add ioctl for BLKBSZSET Date: Wed, 5 Jun 2024 10:22:16 -0700 Message-Id: <20240605172253.356302-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240605172253.356302-1-richard.henderson@linaro.org> References: <20240605172253.356302-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x535.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, T_SCC_BODY_TEXT_LINE=-0.01 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Michael Vogt Tiny patch to add the ioctl wrapper definition for BLKBSZSET. Signed-off-by: Michael Vogt Message-Id: <20240423152438.19841-2-mvogt@redhat.com> --- linux-user/ioctls.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index d508d0c04a..3b41128fd7 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -102,6 +102,7 @@ IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG)) IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_INT)) IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT)) + IOCTL(BLKBSZSET, IOC_W, MK_PTR(TYPE_INT)) IOCTL_SPECIAL(BLKPG, IOC_W, do_ioctl_blkpg, MK_PTR(MK_STRUCT(STRUCT_blkpg_ioctl_arg)))