From nobody Tue Feb 10 16:22:37 2026 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1688011772; cv=none; d=zohomail.com; s=zohoarc; b=ntnUUrJhIO/dvTpqxDgwX8/gnrAbEJfj3MMJTGPHqpVBpgugOryQPHgDCnazTMDBAIWGLDlxqZHAIKNFbG5qAyyOvaxjfFwSOZg1r93VeK35Sr3jz972CfHyGLr7OJORy5m52g0Z3co+fRBDOahHxWn4hLpJJdY8aa3VpDkqR2s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1688011772; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YQi5DNpBee1TXBxFEGyYLPk0MTnw7h1zNgmbfk3WRkU=; b=XR25ilcAro7j8H8/mIRDz7MSfJaOC7T6EadGWuXFbBoPPPSti+4z4Ih9mG77h5M0iJ0UM8LcaCD1GLe1Qo5+VmrSadCxj2zxSxSpeH5RroDQD0kIzNgJ05/G8EizGGJuyi4bbGlYN9qu8l0Z4/APEb5elbCR8js9LfX6rP6IOfs= 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 1688011772803496.39896036860205; Wed, 28 Jun 2023 21:09:32 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEixG-0004I6-Fv; Thu, 29 Jun 2023 00:08:26 -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 1qEixC-0004G2-L4 for qemu-devel@nongnu.org; Thu, 29 Jun 2023 00:08:24 -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 1qEix7-00016k-3d for qemu-devel@nongnu.org; Thu, 29 Jun 2023 00:08:19 -0400 Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-365-Wyly94E8M9aJ6hqvYIzhRQ-1; Thu, 29 Jun 2023 00:08:10 -0400 Received: by mail-oi1-f200.google.com with SMTP id 5614622812f47-39ecef7a101so371094b6e.2 for ; Wed, 28 Jun 2023 21:08:10 -0700 (PDT) Received: from localhost.localdomain ([203.163.234.183]) by smtp.googlemail.com with ESMTPSA id 21-20020a17090a019500b00256b67208b1sm10978169pjc.56.2023.06.28.21.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 21:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688011695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YQi5DNpBee1TXBxFEGyYLPk0MTnw7h1zNgmbfk3WRkU=; b=T6JUoecbuthLm0ggYRMlTThkywx/9qqfnnq2i+kxUt1YgF+dXAbvzLlh8+lyXxPBhu/wqq H9IpxfWL28oL2IUda2VtrhBpSX5QIHQdDp2jcm7u45xnXnyvvJnL++U619evSEtmnzB8zj EzFwcnlrE/KxFzjJHuLQO82UkJOACIE= X-MC-Unique: Wyly94E8M9aJ6hqvYIzhRQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688011689; x=1690603689; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YQi5DNpBee1TXBxFEGyYLPk0MTnw7h1zNgmbfk3WRkU=; b=FWSQXsKc63yyjF+7raAzabVjNGjWWXaFh1J8e2ceya1x/UPPrg5JtPTgvjTV278ryq Tc6RY4dYgeXFunOOzuDcIavBzrEaTNqa5aQZUwQhqOE13SaTnsVOPoIX8dl0uQWFFo7I MO82lVNxfiPTTqNcQRD/JdIZoD8yaMdHyFfve+LAD3w0HGqVUpUm36U2+BL9mzQxiAth gIJOS0QE3dcuK6VyMtk5j1vgkC0K7eXeuAr5Yu6CyW31PLK2INAsyY8LApJ6RR3YQ09K FXWZEz2Zu2qC+WdMbQf5cYCWvsR7puuVtsTkzVjCtmVDe0xTpXw+eTos0hRcafWnO7zC Hanw== X-Gm-Message-State: AC+VfDzDKnxxM0AbExgg+MLt8wbfRrVbtMBSuZ/WyVT/e4sLv8++pICr +mQ5XNkFN6Q/iWAnDSMiyw+OYN/41XNPX5/UT81XCXTwH55WX6VaGioVqA5LNVbaYVp89aTiLLA VXExUdkrkudHzH+TXZ3wzciQWN0KDWgf3/WJhbNcKn/uf3qPxKeiwMaMmRCi0aWIZsO/+grMQWt U= X-Received: by 2002:a05:6808:1922:b0:3a2:f91a:cb08 with SMTP id bf34-20020a056808192200b003a2f91acb08mr7479558oib.42.1688011689669; Wed, 28 Jun 2023 21:08:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4oRSmKIaFvfx6yUPmOr1wUlk/jSkUXlpzp4w4W3OFZEXttpm7zYNk0UJPD00CBFE6+xF93vQ== X-Received: by 2002:a05:6808:1922:b0:3a2:f91a:cb08 with SMTP id bf34-20020a056808192200b003a2f91acb08mr7479534oib.42.1688011689261; Wed, 28 Jun 2023 21:08:09 -0700 (PDT) From: Ani Sinha To: qemu-devel@nongnu.org, "Michael S. Tsirkin" , Igor Mammedov , Ani Sinha Subject: [PATCH v6 2/5] tests/acpi/bios-tables-test: use the correct slot on the pcie-root-port Date: Thu, 29 Jun 2023 09:37:04 +0530 Message-Id: <20230629040707.115656-3-anisinha@redhat.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230629040707.115656-1-anisinha@redhat.com> References: <20230629040707.115656-1-anisinha@redhat.com> MIME-Version: 1.0 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=170.10.129.124; envelope-from=anisinha@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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1688011774813100003 Content-Type: text/plain; charset="utf-8" PCIE ports only have one slot, slot 0. Hence, non-zero slots are not availa= ble for PCIE devices on PCIE root ports. Fix test_acpi_q35_tcg_no_acpi_hotplug() so that the test does not use them. Signed-off-by: Ani Sinha Reviewed-by: Igor Mammedov --- tests/qtest/bios-tables-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index ed1c69cf01..47ba20b957 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1020,9 +1020,9 @@ static void test_acpi_q35_tcg_no_acpi_hotplug(void) " -device pci-testdev,bus=3Dnohprp,acpi-index=3D501" " -device pcie-root-port,id=3Dnohprpint,port=3D0x0,chassis=3D3,hot= plug=3Doff," "multifunction=3Don,addr=3D8.0" - " -device pci-testdev,bus=3Dnohprpint,acpi-index=3D601,addr=3D8.1" + " -device pci-testdev,bus=3Dnohprpint,acpi-index=3D601,addr=3D0.1" " -device pcie-root-port,id=3Dhprp2,port=3D0x0,chassis=3D4,bus=3Dn= ohprpint," - "addr=3D9.0" + "addr=3D0.2" " -device pci-testdev,bus=3Dhprp2,acpi-index=3D602" , &data); free_test_data(&data); --=20 2.39.1