From nobody Sun Sep 28 21:27:21 2025 Delivered-To: importer@patchew.org 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; Authentication-Results: mx.zohomail.com; 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 ARC-Seal: i=1; a=rsa-sha256; t=1583947718; cv=none; d=zohomail.com; s=zohoarc; b=R1tWpnhUWX8g/WLKuI1EtOC9+jjkE04n/BTMBSFEdzP1TaIbA1wsfiEWTqaGuFKvJoRr1BdLHbLan/i6HuDWSfAkQl9M90fTKyxxWC6D+m/mXCqxsnJfDihF0gKvGBSWuIn2oO9JKoP4SRB1xKX18EaffhB2MmFH42FdxJEaOBE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583947718; h=Content-Type:Cc: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=KmhgtwNZmdIpd6XQMRSn3EI4DR5SZ1IokNMKuW9YChw=; b=D5Wkk2h0UlWR5TMAbEqjTnp9UrN1rdgaQJeSrmVkWj1F0USVZdgYyfZliXPgLU/QsiLRIubPz+g0v7ZeBO+44/DFifxxLG9c4YFezlJJ9vYZ1YiJxn2ZRhTEY0F0PpCe+Tn2d492t8XCNshYnWu6HNEIXq5jQmUzHlasJQXe0yY= ARC-Authentication-Results: i=1; mx.zohomail.com; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583947718470299.7058027670736; Wed, 11 Mar 2020 10:28:38 -0700 (PDT) Received: from localhost ([::1]:56318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jC59p-0003RL-KX for importer@patchew.org; Wed, 11 Mar 2020 13:28:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58221) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jC55P-0002mj-MB for qemu-devel@nongnu.org; Wed, 11 Mar 2020 13:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jC55N-0004UO-Lf for qemu-devel@nongnu.org; Wed, 11 Mar 2020 13:24:02 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:52090 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jC55K-0004D2-5b; Wed, 11 Mar 2020 13:23:59 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E06B64BAE0408E864822; Thu, 12 Mar 2020 01:23:54 +0800 (CST) Received: from S00345302A-PC.china.huawei.com (10.202.227.237) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Thu, 12 Mar 2020 01:23:45 +0800 From: Shameer Kolothum To: , , , Subject: [PATCH v3 09/10] tests/bios-tables-test: Update arm/virt memhp test Date: Wed, 11 Mar 2020 17:20:13 +0000 Message-ID: <20200311172014.33052-10-shameerali.kolothum.thodi@huawei.com> X-Mailer: git-send-email 2.12.0.windows.1 In-Reply-To: <20200311172014.33052-1-shameerali.kolothum.thodi@huawei.com> References: <20200311172014.33052-1-shameerali.kolothum.thodi@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.202.227.237] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 45.249.212.35 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, xiaoguangrong.eric@gmail.com, david@redhat.com, mst@redhat.com, linuxarm@huawei.com, xuwei5@hisilicon.com, shannon.zhaosl@gmail.com, lersek@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Since we now have both pc-dimm and nvdimm support, update test_acpi_virt_tcg_memhp() to include those. Signed-off-by: Shameer Kolothum --- v2 -> v3 -Moved addition of empty table files to the previous patch --- tests/qtest/bios-tables-test.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 0a597bbacf..c9843829b3 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -927,12 +927,17 @@ static void test_acpi_virt_tcg_memhp(void) }; =20 data.variant =3D ".memhp"; - test_acpi_one(" -cpu cortex-a57" + test_acpi_one(" -machine nvdimm=3Don" + " -cpu cortex-a57" " -m 256M,slots=3D3,maxmem=3D1G" " -object memory-backend-ram,id=3Dram0,size=3D128M" " -object memory-backend-ram,id=3Dram1,size=3D128M" " -numa node,memdev=3Dram0 -numa node,memdev=3Dram1" - " -numa dist,src=3D0,dst=3D1,val=3D21", + " -numa dist,src=3D0,dst=3D1,val=3D21" + " -object memory-backend-ram,id=3Dram2,size=3D128M" + " -object memory-backend-ram,id=3Dnvm0,size=3D128M" + " -device pc-dimm,id=3Ddimm0,memdev=3Dram2,node=3D0" + " -device nvdimm,id=3Ddimm1,memdev=3Dnvm0,node=3D1", &data); =20 free_test_data(&data); --=20 2.17.1