Message ID | 20221125173043.1998075-4-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1273982pvb; Fri, 25 Nov 2022 09:32:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf7UMuPKVcPEyvmizA4JyZcxU55qqC4YVfYc1ntDRw4T11+ybWngX9Nh6dgdFil+cE+Z6ACj X-Received: by 2002:ad4:4d85:0:b0:4bb:7465:b87c with SMTP id cv5-20020ad44d85000000b004bb7465b87cmr17861723qvb.34.1669397553649; Fri, 25 Nov 2022 09:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669397553; cv=none; d=google.com; s=arc-20160816; b=j5rOupCU2HKmhX3W7Z/vPZCQci45L2hqkjSbjZSrE0r5A4Nyvb8+BeI6sLkhjbmfyt CKkZXvd6m1LHENI9lBUsuD/dyEODlC5EbWYBtwHETs/O4lIeL1gg3Zbzah6rg3EHJxEj feg94MxCalZLessSm0cXu4HIj2qTC8sTWjg5iaaDmk/KBd0NtMSGCWkP1++GtooMlU21 pN9CUx+NonklUz2LdYTnIwCDXTEw1i8flAecuIBtlFcLr1g2bj5j1nhMeRvqq9u62jTy YhW7xTwaPwvrGBVjwL01z0W6oUaadoWE3LUF0kbRVQyYHY1HGFctnpxS0MltyUA38+ZP 1q+Q== 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=KhIII14ps0nVEVy/8MmJ4sK/j5eE6abuNMevIXJoNIs=; b=0zQRhum7MTuvvCTJoKkLQe8ELft8r0xWMjLbN3SEt6sdPqXiN7rMElhLuS67Nmm+s9 3XbZotYYq6ixDyU66c/9OlOIpERLvl4exmgMdXspdpwM1CF1O+J9vm6v2Fu3rmjYPJb+ u3cwGO+6ncG0Jxq4abVcYpJ3QJSeL3NgKaru+ggf7o9xsqnKuBEzwgucbGVCPgfDdqHj Ek908rCii1JLQhbU+7h2FZG6sJx6rfj2Z822kb8uNXBAJEWNztq9Wk7zF2+QJX78muQf jHxw35uBI0phIBIO5Qh3UjStX9l5d0IPIXkakAU2SMKeF0zktMd1MSKip1J1u2r+D/dv 8g2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XT0Xq5UC; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x23-20020a05620a0b5700b006fba1f1d8cdsi2399470qkg.496.2022.11.25.09.32.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Nov 2022 09:32:33 -0800 (PST) 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=XT0Xq5UC; 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 <qemu-devel-bounces@nongnu.org>) id 1oycXY-0004UQ-K7; Fri, 25 Nov 2022 12:31:04 -0500 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 <alex.bennee@linaro.org>) id 1oycXK-0004O7-OE for qemu-devel@nongnu.org; Fri, 25 Nov 2022 12:30:51 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1oycXI-0004V9-11 for qemu-devel@nongnu.org; Fri, 25 Nov 2022 12:30:49 -0500 Received: by mail-wr1-x42e.google.com with SMTP id z4so7792481wrr.3 for <qemu-devel@nongnu.org>; Fri, 25 Nov 2022 09:30:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=KhIII14ps0nVEVy/8MmJ4sK/j5eE6abuNMevIXJoNIs=; b=XT0Xq5UCZ0tEpEXE6rRkUKa1Kcdpy8U8n3vYOSqQtDSUwoQJcL71clEjVZe20od9zQ WUo0ZOCS/RFgrpq79REiwVbDmKMquuetW000BfCpvH+f93LcxcGAsVvsQy15TSz1zjKV NJaXZ7nieIeik0WU0neicZsfWnGVch/WcfbJ2ZmbS/jlOLulUWMcuylLL5yh+PpTiCwE +ZaZD7GP7sPaZ2LGcUGX8o+rDwWoKfCESbnUcxSlASby5WyngcLN1PRUCqcnUaYS/sE1 DR+fI07aL/xid7gRsTgR9Ocw3jcfhB/PYVMJ3GwGwvHI7x3Z3hqAz4Vt14ANNU8yM/a7 /BbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=KhIII14ps0nVEVy/8MmJ4sK/j5eE6abuNMevIXJoNIs=; b=rx36Q935HiZ+Sk9lLhypWSsFCgIw9pz64TKYpkHursl/EFNPSPpYLS8zEYS1FA0L0b 1U0UrIgsqZfyEAtjlzbUDUSw3ivPvf65X9V60gvF4HAOwWS3jYnMN0ksgkG6fJFXZSmF xhbjjIHnsEFPZ5NmeOi4dTUC2VyvG897QPjmiZQP4Uhtb7NTBNugG4aCoZgKRNjrpJY/ SqxvxBg6t1tSv/RmML9M41OGJtznrsf+jvXbPbVdXHxI9+LfLCM00haZQG/lv13wIj82 r/S5lcyDhb2bKBRexUxLD8Gw68rvbclVD01EZGewtnMJak35lonLCWpCLsUY/ocn3+pl OQmw== X-Gm-Message-State: ANoB5pkX/HtM5g60EUjVxaZ162sRG6FZtpvoyXvxEKswKOXal7MZGEeJ 6mgtqpiwvO0aiawTHi0eBh+bUg== X-Received: by 2002:a5d:5952:0:b0:241:a79b:3c41 with SMTP id e18-20020a5d5952000000b00241a79b3c41mr23705868wri.22.1669397446664; Fri, 25 Nov 2022 09:30:46 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id k17-20020a05600c1c9100b003c6b874a0dfsm8014653wms.14.2022.11.25.09.30.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 09:30:44 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6772F1FFBB; Fri, 25 Nov 2022 17:30:43 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: slp@redhat.com, mst@redhat.com, marcandre.lureau@redhat.com, stefanha@redhat.com, mathieu.poirier@linaro.org, viresh.kumar@linaro.org, sgarzare@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com> Subject: [PATCH v2 3/5] tests/qtests: override "force-legacy" for gpio virtio-mmio tests Date: Fri, 25 Nov 2022 17:30:41 +0000 Message-Id: <20221125173043.1998075-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221125173043.1998075-1-alex.bennee@linaro.org> References: <20221125173043.1998075-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
continuing efforts to fix vhost-user issues
|
expand
|
diff --git a/tests/qtest/libqos/virtio-gpio.c b/tests/qtest/libqos/virtio-gpio.c index 762aa6695b..f22d7b5eb5 100644 --- a/tests/qtest/libqos/virtio-gpio.c +++ b/tests/qtest/libqos/virtio-gpio.c @@ -154,7 +154,8 @@ static void virtio_gpio_register_nodes(void) QOSGraphEdgeOptions edge_opts = { }; /* vhost-user-gpio-device */ - edge_opts.extra_device_opts = "id=gpio0,chardev=chr-vhost-user-test"; + edge_opts.extra_device_opts = "id=gpio0,chardev=chr-vhost-user-test " + "-global virtio-mmio.force-legacy=false"; qos_node_create_driver("vhost-user-gpio-device", virtio_gpio_device_create); qos_node_consumes("vhost-user-gpio-device", "virtio-bus", &edge_opts);
The GPIO device is a VIRTIO_F_VERSION_1 devices but running with a legacy MMIO interface we miss out that feature bit causing confusion. For the GPIO test force the mmio bus to support non-legacy so we can properly test it. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1333 --- tests/qtest/libqos/virtio-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)