From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD4DF221FBD for ; Sat, 27 Dec 2025 22:58:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766876284; cv=none; b=koz6PBMhRPwnZ1fk04NhCojdouDNAAkOgMXGXL78FfQZzKe0JxEL+s5mLPnbGUU9WIK7GaSY2/E5OhS4kr65gf+SOs3AiUzvrVp24L9ol77/3Z4KYOZ7fZzaV5ZU96IxaA1nIllT+BSjxYnb18xkD2CCR2q9WIvu2mn+8CkcfE0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766876284; c=relaxed/simple; bh=CPNbx3FNSa5Au+Ot9CDRPIT60sy7MYuZfYJ6jxmopGU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gSdjvMtGg/TtUFoOSsBcN2Px++Tc1NYtAHSpNv9Rytg201OY625a4rZOFrzzQtOQd3ZjLpAN2C8CxPwGlPbT1OqhSLzexBvDi9Z8FYvpSl7hZ9e/ULFT+tnivsScdI3GmphjfKut+vY2xmK+iUoOFsFiPboRocuYDhXHthpYA/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jEofzKnQ; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jEofzKnQ" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-7baf61be569so8412766b3a.3 for ; Sat, 27 Dec 2025 14:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766876282; x=1767481082; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ut8bGj0ZaEBjPKvyaFOSnRAFySfPCDnWxIP7+yNuQAY=; b=jEofzKnQD41tiBdfKlQiEm6hy0Bn9263XQPSYJrsCYFdMgEaP6B3a7xH+6IzA2lJ9H oVdhKFd/Oo87WWzxZQj5WPbC51/foFlsSfANWGT/1EaV5HyiYehk+c3QdHNTS82yohRk 9Ity4bBQg+5Pil29kAGmWjM1+2i9uB5yLrUNNFPICu31reXEMj8DHpPRUGjxBpW8B5vU dtN3fJTZxxVM1a4FhFkKzL66k2WxB31u79rlaR2PaLv6Xe++uTKSO36brCLPDGGyxpyq ttUptYpF5DF3yL5aWOMqJCMVy+vKCyiOCPYLh5bPO0TgKyCEIwtWnDGQBHBZWmJQxlFj jTMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766876282; x=1767481082; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ut8bGj0ZaEBjPKvyaFOSnRAFySfPCDnWxIP7+yNuQAY=; b=S2DblAli2OZHiQnQBW5enHVLTMXONa17ZjTCPKFkCu+qXvc9oFvSUzSPtWiDF9X5aD BcvOh/dzQ+VEW6S2dpLQHDvD5f+kp2PKpIa4GnGBKoCX0lCyFJqqYYoA1DMeIixlZVbC kABu2OsxdhFbgDiPT3A6bZ7E/f5K67tNeAKsJX2pkR+VSJOjRH34r+wU5orPStI62qx/ O+ra0tlpxKqju6Kjk7kbKRixfpiLvgAP/5YRm619RSBSwdKJij+4RnXtgjoclvX7noyf SoIKDUj9AMQFKzGO9h4thQyb4RK3lUN78kkE24o6RLgjTijoIKUUg+ESCyimt2g7ctUZ aQ6w== X-Gm-Message-State: AOJu0YwJB/BxMPbEbIa8BQUghvMpV7Whn0h/x/pvH4m3RhkWEnJsE2iJ L7SGOXqLDosqWmqhL9xZ4enEeGfk6wrW6wo7ubgAgKLOzR6oom395muu X-Gm-Gg: AY/fxX6c9+NTWum3bWbxs4dzF/AWfH7dASagapKOayc4vgyUOXnB2Av+0wI+iEHKC2P ljZxyWah66XrDaTuOgYf92UD8aoGjDppjcL7LoCYxZnuZgf7nP+DOwEv7ABdahRTQTFcKSZ/KwN OEp351fbEzdx3aMu3l2Yt2cOuYwJloB+/FmnH5dY60GrRPOpffznPD5fo96mvxlO2ZjrXTZlt5m KoSJ/bB8dp9RAJK4oTt38vVDFwxEuK50e7HS7atlP9Hq7qhQXxtjTd2Ko2Ptc+qRGlCsgVuUkJM 9ySCXgkDBSRoXjMX1+ETlafhRnnzOzcT5FMYQbzJj11f5nGMFxXpqkvRY/JqRZkNXcuRim/kwR9 E3PajFhBXL461ulR/H7iNM2Ut11EiZPFVUaVNC7aZRTGTLMh3e2H0fx8vb6yPOy+O6ea1IBnbNz th08XbF8taWqQ= X-Google-Smtp-Source: AGHT+IHjfI1M1Rj69qk7Hqd9Aoaxae6/tIHy5AXkjNdKS9vO0/6nnUKGn2YbryJF8wDUrLvD87q/Tg== X-Received: by 2002:a05:6a00:ad8a:b0:7b8:8185:c23b with SMTP id d2e1a72fcca58-7ff657a302emr25449837b3a.10.1766876281942; Sat, 27 Dec 2025 14:58:01 -0800 (PST) Received: from archie.me ([210.87.74.117]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7ff7e48cea1sm25865287b3a.45.2025.12.27.14.57.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Dec 2025 14:58:00 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id E9124409AD45; Sun, 28 Dec 2025 05:57:57 +0700 (WIB) Date: Sun, 28 Dec 2025 05:57:57 +0700 From: Bagas Sanjaya To: "Michael S. Tsirkin" Cc: Linux Kernel Mailing List , Linux Virtualization , Jason Wang , Xuan Zhuo , Eugenio =?utf-8?B?UMOpcmV6?= Subject: Re: [PATCH v2] virtio: Describe @map and @vmap members in virtio_device struct Message-ID: References: <20251219031647.25264-1-bagasdotme@gmail.com> <20251226140725-mutt-send-email-mst@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ry7TUuIYCpWy070v" Content-Disposition: inline In-Reply-To: <20251226140725-mutt-send-email-mst@kernel.org> --Ry7TUuIYCpWy070v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 26, 2025 at 02:13:00PM -0500, Michael S. Tsirkin wrote: > > diff --git a/include/linux/virtio.h b/include/linux/virtio.h > > index 132a474e59140a..68ead8fda9c921 100644 > > --- a/include/linux/virtio.h > > +++ b/include/linux/virtio.h > > @@ -150,11 +150,13 @@ struct virtio_admin_cmd { > > * @id: the device type identification (used to match it with a driver= ). > > * @config: the configuration ops for this device. > > * @vringh_config: configuration ops for host vrings. > > + * @map: configuration ops for device's mapping buffer >=20 > there's no "mapping buffer" that needs configuration. > the type tells it all: > * struct virtio_map_ops - operations for mapping buffer for a virtio dev= ice >=20 >=20 > > * @vqs: the list of virtqueues for this device. > > * @features: the 64 lower features supported by both driver and devic= e. > > * @features_array: the full features space supported by both driver a= nd > > * device. > > * @priv: private pointer for the driver's use. > > + * @vmap: device virtual map >=20 > this one is not a "virtual map" either. > more a "device or domain used for mapping memory" Thanks for the suggestions! I'll apply them in v3 (should be out in Monday). --=20 An old man doll... just what I always wanted! - Clara --Ry7TUuIYCpWy070v Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCaVBkcQAKCRD2uYlJVVFO owSaAQCrqGuASetVj71LFJszVWxe+/optVC08SzwLuyV0FkX/wD/W0Po9fxNKPBX Q0FE4SMFTaZH95+5YEls/X3Bub41wgc= =MqGf -----END PGP SIGNATURE----- --Ry7TUuIYCpWy070v--