From patchwork Wed Oct 4 08:44:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 1843160 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=MWOfBDNo; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S0phy1lKzz20Zl for ; Wed, 4 Oct 2023 20:06:42 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnxUx-0005cG-O8; Wed, 04 Oct 2023 04:44: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 1qnxUn-0004yZ-Hi for qemu-devel@nongnu.org; Wed, 04 Oct 2023 04:44:41 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnxUm-0001p5-1Q for qemu-devel@nongnu.org; Wed, 04 Oct 2023 04:44:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696409079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U4Cix+xhRSqfwmTscFGe9trJu0iYTGmnsDB5+Bia4t8=; b=MWOfBDNoqnN5Fh/3fQHodkCI2pLXsJo3J3IhPr9t6LcoD7w+eluejeSy438nbHRO5z5ItS 4/k/2tcsnn90ZOvne+uHLqWqO0+Poo6au8UvkdDutl47taexXD9rGCxc71sBsXHNSIlVao 66KRvKhhvONpTlxepfG7a/xUj6o77eo= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-125-x7eftrEBMTO-Sv-4RauYmw-1; Wed, 04 Oct 2023 04:44:28 -0400 X-MC-Unique: x7eftrEBMTO-Sv-4RauYmw-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-3251bc06680so1463247f8f.2 for ; Wed, 04 Oct 2023 01:44:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696409066; x=1697013866; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U4Cix+xhRSqfwmTscFGe9trJu0iYTGmnsDB5+Bia4t8=; b=MybRhtRUvwcHsJPuluTTlcatDtrP1PfVe1ASPKPrcwiYNf3xLrwZ55Ju3k+NkN4D2r JnmcqY/8flW46TYNrz7OdHH5Ocz94Tv2SQesGrKTYaMA6SgsdDK3030djjPCfjmVM8hY AZNI82ChFBVjjkBKsIvqMjuI9Yf3iN0k0VGRvKX0F9DXhrE6+uvTwjIPw/q11256klwH iU/JiejPnZeXw4kBwN+GfuD3IR375BO2yFOngc5a+EykeAbqsSYeiagnYU3lxFLVXXer j8ZkZy5Z86yRWwO7nQ13EkEITfNravCsGNW20nUW13TZdyqsxn17yump86MOfGq275GL eBlA== X-Gm-Message-State: AOJu0YyCBqtPK183bil4hsthIbYOhAzB92F9MfiFrEml3TbuRnqK/VPs a/s6ejou1mu4YvoGExtYHJ1OVvbbpEfyrW0zRsLFlgsuvs48N1Xg3UutHFbtMnZOBLiMf9Oyj3B yJJqoo2kfdQlBr57piqBZEIMDMuj1ZU9m5p5YUjUDr/v0799nLBrn8+Te4G3dDNiFRPau X-Received: by 2002:a05:6000:1815:b0:317:e1fb:d56a with SMTP id m21-20020a056000181500b00317e1fbd56amr1332479wrh.40.1696409066210; Wed, 04 Oct 2023 01:44:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGS6osEgUkCwH+6F5T8UKC37qfNWFa2OQQhEA2S5hHIb6baRa9RiqoWXrG0efMaa6c+VBVDmA== X-Received: by 2002:a05:6000:1815:b0:317:e1fb:d56a with SMTP id m21-20020a056000181500b00317e1fbd56amr1332456wrh.40.1696409065883; Wed, 04 Oct 2023 01:44:25 -0700 (PDT) Received: from redhat.com ([2.52.137.96]) by smtp.gmail.com with UTF8SMTPSA id u12-20020adfa18c000000b00327de0173f6sm107044wru.115.2023.10.04.01.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 01:44:25 -0700 (PDT) Date: Wed, 4 Oct 2023 04:44:22 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: =?unknown-8bit?q?Peter_Maydell_=3Cpeter=2Emaydell=40linaro=2Eorg=3E=2C?= =?unknown-8bit?q?_Laszlo_Ersek_=3Clersek=40redhat=2Ecom=3E=2C?= =?unknown-8bit?q?_Eugenio_Perez_Martin_=3Ceperezma=40redhat=2Ecom=3E=2C?= =?unknown-8bit?q?_German_Maglione_=3Cgmaglione=40redhat=2Ecom=3E=2C?= =?unknown-8bit?q?_Liu_Jiang_=3Cgerry=40linux=2Ealibaba=2Ecom=3E=2C?= =?unknown-8bit?q?_Sergio_Lopez_Pascual_=3Cslp=40redhat=2Ecom=3E=2C?= =?unknown-8bit?q?_Stefano_Garzarella_=3Csgarzare=40redhat=2Ecom=3E=2C?= =?unknown-8bit?q?_Albert_Esteve_=3Caesteve=40redhat=2Ecom=3E=2C_Philippe=40r?= =?unknown-8bit?q?edhat=2Ecom=2C?= =?unknown-8bit?b?IE1hdGhpZXUtRGF1ZMOpQHJlZGhhdC5jb20sICZsdEByZWRoYXQuY29t?= Subject: [PULL 24/63] vhost-user: strip superfluous whitespace Message-ID: <1487a89a54913ad88cd44b999d059c0b72dbf18d.1696408966.git.mst@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Laszlo Ersek Cc: "Michael S. Tsirkin" (supporter:vhost) Cc: Eugenio Perez Martin Cc: German Maglione Cc: Liu Jiang Cc: Sergio Lopez Pascual Cc: Stefano Garzarella Signed-off-by: Laszlo Ersek Reviewed-by: Stefano Garzarella Message-Id: <20230830134055.106812-2-lersek@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Tested-by: Albert Esteve Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Eugenio Pérez --- hw/virtio/vhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index a096335921..f4c06ecb10 100644 --- a/hw/virtio/vhost-user.c +++ b/hw/virtio/vhost-user.c @@ -377,7 +377,7 @@ static int vhost_user_write(struct vhost_dev *dev, VhostUserMsg *msg, * operations such as configuring device memory mappings or issuing device * resets, which affect the whole device instead of individual VQs, * vhost-user messages should only be sent once. - * + * * Devices with multiple vhost_devs are given an associated dev->vq_index * so per_device requests are only sent if vq_index is 0. */