From nobody Mon Nov 23 04:26:19 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=reject dis=none) header.from=linux.ibm.com ARC-Seal: i=1; a=rsa-sha256; t=1793365956; cv=none; d=zohomail.com; s=zohoarc; b=BsqXvNNIFOpsgMClVedW2YNUDuMsSaPSERjjMRGTcgM7Ymea0viEKx6giWXLPCTicMsiEUSWMj4NEX+3pv4o2Eloi/VCvU+atqtWovOuQJ1vqs4Y9fZhCVHDOZSlnHxHUVugz+r0KWMlpPPhvIYrMoMTuczMPbYmcIWsoEbv7c8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793365956; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=aKKIMTn+l1xhvVV1Cs0vnsHOTKmk2DiyeV3e8NrsCEE=; b=PEOyOOonHBVr8/QqMX1W/sytWiv/hS9KWSJb8bYz18DhfORjxb9K/YqtL5ypH1cThHpEZRDsxM3uzVYMNrQ2mGTBYoRgWbbOBEn+EoPXxNudcGUynn6cTTCbSSC2wpZcch/410r4GQwPTgezOd7xMhRdMmdeM/HmvcUscjaGZic= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793365956211267.07971839593995; Fri, 30 Oct 2026 06:12:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xMmOl-0005eb-HI; Fri, 30 Oct 2026 09:12:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMmOj-0005dT-9z; Fri, 30 Oct 2026 09:11:57 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMmOg-0004p2-SO; Fri, 30 Oct 2026 09:11:57 -0400 Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69UBIKu22970951; Fri, 30 Oct 2026 13:11:53 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4hmeay2ucb-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 30 Oct 2026 13:11:52 +0000 (GMT) Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 69UBJvZD3453273; Fri, 30 Oct 2026 13:11:51 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4hmr330tb0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Oct 2026 13:11:51 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 69UDBnSs7078148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Oct 2026 13:11:50 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D2BCC58055; Fri, 30 Oct 2026 13:11:49 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AEC6A5805D; Fri, 30 Oct 2026 13:11:44 +0000 (GMT) Received: from localhost.localdomain (unknown [9.39.21.33]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 30 Oct 2026 13:11:44 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=aKKIMT n+l1xhvVV1Cs0vnsHOTKmk2DiyeV3e8NrsCEE=; b=MspKuyvqWKPceL5DmQyI90 tXgm4JU6vmmrqm7T/3LP7nQwjZtEA1V/hRwNzn6fwPwXXBWjsITYIjDexYJat4bG /hUkhgHR6BU1IoSDt5g4qUZdP/l8Mv2Y0XXQv4p9cbC4AHiPF7i5S20RaWjoEplq 7sbKP2jJh6ikjsuApfr7mOaae1/HJHm+G8tExWQ8QW9Lm3JuWYs4tjDrP62d7ViY ktGNekDNba97ruFiU6OELbicXSiCo4Q7IMYuEMwBpuJQgGwv+UF11YGRDXBePLkq TsZ+fLN4n9BbWYMx0GfmC3RYDWNWpAr58y1JSsNSaYE8B7ZoFaY4jUdFsy3p2iow == From: Anushree Mathur To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, harshpb@linux.ibm.com Cc: npiggin@gmail.com, amachhiw@linux.ibm.com, clg@redhat.com, thuth@redhat.com, adityag@linux.ibm.com, milesg@linux.ibm.com, misanjum@linux.ibm.com, Anushree Mathur Subject: [PATCH 1/3] tests/functional/ppc64: add pseries CPU hotplug test Date: Fri, 30 Oct 2026 18:40:22 +0530 Message-ID: <20261030131025.32219-2-anushree.mathur@linux.ibm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261030131025.32219-1-anushree.mathur@linux.ibm.com> References: <20261030131025.32219-1-anushree.mathur@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDMwMDA1MCBTYWx0ZWRfX7XQVHlEyoRb/ BSVAOi8aJ4XA3Gv2HTdLI0AwtKElRGNPlSrDvuXkQmpL4hS4yxPu43xAuE0VD0nO2WMCY18UKLp fKG/YsUgp/PE7ziAH8K6TLouZjlQHLgwsxs0tEBRGlXnazBHLOnSSZgrzJ2+Wi5LPU7TSE1JyqC Vx8Izy7F6Iq9y8rwMimr05hwuzV4T0m06rJPI+ql/ecj73AlYNLwqG4jQt0sgbIdM3bgDXAV70f shhSoAkxXZwgoJtF6ubUhwlIs4nNwNmlRZNBSQ5QWRdUL9ODkploNfLts+Csfq0T98PH9togEQR odMQDQOd09wgU7/cIB7EJKWKXd4fswIQ9jVXwsff9Gu3qni4ozl8q6b+Dj2CF63twrrIstWpt+N q7pHIlI3fgX4s94Rey+PnukrPnedBg+o45Z4uaUy1pRZyksgKWlX0iU32sTHmBvh0Yd31HcE2YG dDo19sEy1dwrs2CyKhA== X-Authority-Analysis: v=2.4 cv=WJHqzXsR c=1 sm=1 tr=0 ts=6ae49798 cx=c_pps a=AfN7/Ok6k8XGzOShvHwTGQ==:117 a=AfN7/Ok6k8XGzOShvHwTGQ==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=iQ6ETzBq9ecOQQE5vZCe:22 a=NEAV23lmAAAA:8 a=VnNF1IyMAAAA:8 a=vonSYa1uxlKPYFDRfcEA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: 2FI0roK43eGgH0oscLkjp10woWwn4-tb X-Proofpoint-Spam-Info: AW1haW4tMjYxMDMwMDA1MCBTYWx0ZWRfX4WFgS6wGpXuB bMOi9eThtKOT6gEoz6PLkufwRUr5QVvPkYmk/2pZnEOelqVk+BqDBk4VnzvOM9jKrZQmdegyK/X sR4dkwBdK0wXw7kXSE87ZVP2UTgPL4Q= X-Proofpoint-GUID: af34i9Ox9mK46kkSJcDjNc7XvuYqaaXm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-30_04,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 spamscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610300050 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=lists1p.gnu.org; Received-SPF: pass client-ip=148.163.156.1; envelope-from=anushree.mathur@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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: qemu development 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 @ibm.com) X-ZM-MESSAGEID: 1793365958418154100 Add a functional test that exercises DLPAR (Dynamic Logical Partitioning) CPU hotplug and unplug on the pseries machine type. The pseries machine supports adding and removing CPU cores at runtime via RTAS calls made by the guest. This test boots a minimal Linux kernel with a single core (-smp 2,threads=3D2,cores=3D1,maxcpus=3D4), then uses QMP device_add to attach a second core, verifies the guest sees it via /sys/devices/system/cpu/online, and then removes it again. The CPU driver name is detected dynamically via query-hotpluggable-cpus so the test remains correct when the default pseries CPU changes in a future QEMU release (e.g. power10 -> power11). Two variants are provided: - test_pseries_cpu_hotplug_tcg: runs under TCG on any host arch. - test_pseries_cpu_hotplug_kvm: runs under KVM on ppc64le hosts with kvm-hv loaded; skipped automatically elsewhere. An explicit /proc/modules check for kvm_hv is added because on ppc64le the base kvm module can create /dev/kvm without kvm-hv, which would cause the test to error rather than skip. x-vof=3Don is intentionally NOT used: VOF skips the SLOF firmware path that sets up the RTAS event interrupt, causing CPU hotplug events to be silently dropped by the guest kernel. Signed-off-by: Anushree Mathur --- tests/functional/ppc64/meson.build | 2 + tests/functional/ppc64/test_hotplug_cpu.py | 183 +++++++++++++++++++++ 2 files changed, 185 insertions(+) create mode 100755 tests/functional/ppc64/test_hotplug_cpu.py diff --git a/tests/functional/ppc64/meson.build b/tests/functional/ppc64/me= son.build index cb3c745624..45468087cb 100644 --- a/tests/functional/ppc64/meson.build +++ b/tests/functional/ppc64/meson.build @@ -2,6 +2,7 @@ =20 test_ppc64_timeouts =3D { 'fadump' : 480, + 'hotplug_cpu' : 480, 'hv' : 1000, 'mac99' : 120, 'openbsd' : 240, @@ -19,6 +20,7 @@ tests_ppc64_system_quick =3D [ tests_ppc64_system_thorough =3D [ 'e500', 'fadump', + 'hotplug_cpu', 'hv', 'mac99', 'openbsd', diff --git a/tests/functional/ppc64/test_hotplug_cpu.py b/tests/functional/= ppc64/test_hotplug_cpu.py new file mode 100755 index 0000000000..871e6a9657 --- /dev/null +++ b/tests/functional/ppc64/test_hotplug_cpu.py @@ -0,0 +1,183 @@ +#!/usr/bin/env python3 +# Copyright (c) 2025 IBM Corporation +# +# SPDX-License-Identifier: GPL-2.0-or-later + +import platform + +from qemu_test import LinuxKernelTest, Asset +from qemu_test import exec_command_and_wait_for_pattern + + +class PseriesCpuHotplug(LinuxKernelTest): + """ + Test DLPAR CPU hotplug/unplug on the pseries machine type. + + The pseries machine implements the PAPR CPU hotplug protocol: the + hypervisor presents Dynamic Reconfiguration Connectors (DRCs) to + the guest, and the guest uses RTAS calls to accept or reject CPUs + that are offered or withdrawn. + + Topology used: -smp 2,threads=3D2,cores=3D1,maxcpus=3D4 =E2=80=94 1 ac= tive core + (cpu0+cpu1 online), max 2 cores. Hot-add core-id=3D2 =E2=86=92 online= goes + 0-3; hot-remove =E2=86=92 back to 0-1. Verified via /sys/.../cpu/onli= ne. + + Two variants are provided: + * test_pseries_cpu_hotplug_tcg =E2=80=94 uses TCG, runs on any host = arch. + * test_pseries_cpu_hotplug_kvm =E2=80=94 uses KVM, requires a ppc64l= e host + with kvm-hv loaded; skipped automatically on other hosts. + """ + + timeout =3D 480 + + # Buildroot image built for pseries (ppc64le little-endian paravirtual= ). + ASSET_KERNEL =3D Asset( + ('https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/' + 'buildroot/qemu_ppc64le_pseries-2023.11-8-gdcd9f0f6eb-20240104/vm= linux'), + 'fc20d5820ad83ed514ac5f88af7e2692d47ab7f36dab290cdb137d05b98502f5') + + ASSET_ROOTFS =3D Asset( + ('https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/' + 'buildroot/qemu_ppc64le_pseries-2023.11-8-gdcd9f0f6eb-20240104/ro= otfs.ext2'), + '6fd31e2300e9921d1192aa5c997760fc8bc40a18513cc466c56902f72d61fd23') + + def _boot_pseries(self, accel): + """ + Boot pseries with 1 core present and room for a second core. + + -smp 2,threads=3D2,cores=3D1,maxcpus=3D4 gives us: + * 1 active core =E2=86=92 cpu0 + cpu1 (2 SMT threads) + * 1 spare core slot that can be filled by device_add + + accel must be 'tcg' or 'kvm'. + """ + kernel_path =3D self.ASSET_KERNEL.fetch() + rootfs_path =3D self.ASSET_ROOTFS.fetch() + + self.set_machine('pseries') + # Do NOT use x-vof=3Don here =E2=80=94 VOF skips the SLOF firmware= path that + # sets up the RTAS event interrupt (epow/check-exception). Without + # SLOF, the guest kernel's pseries_hp_wq workqueue is never trigge= red + # and CPU hotplug RTAS events are silently dropped. + if accel =3D=3D 'tcg': + self.vm.add_args('-accel', 'tcg,thread=3Dmulti') + else: + self.vm.add_args('-accel', 'kvm') + self.vm.add_args('-smp', '2,threads=3D2,cores=3D1,maxcpus=3D4') + self.vm.add_args('-m', '512M') + self.vm.set_console() + self.vm.add_args('-drive', + f'file=3D{rootfs_path},if=3Dscsi,index=3D0,format= =3Draw') + self.vm.add_args( + '-kernel', kernel_path, + '-append', 'root=3D/dev/sda console=3Dhvc0 rootwait printk.tim= e=3D0', + ) + self.vm.launch() + self.wait_for_console_pattern('buildroot login:') + exec_command_and_wait_for_pattern(self, 'root', '#') + + def _get_hotplug_cpu_driver(self): + """ + Return the spapr-cpu-core driver name for an empty hotplug slot. + + query-hotpluggable-cpus lists all possible CPU slots; entries + without a 'qom-path' key are currently empty. The 'type' field + of any empty slot gives the driver name to pass to device_add. + This avoids hard-coding a CPU version string (e.g. + 'power11_v2.0-spapr-cpu-core') that would break when the default + pseries CPU changes in a future QEMU release. + """ + cpus =3D self.vm.cmd('query-hotpluggable-cpus') + for entry in cpus: + if 'qom-path' not in entry: + return entry['type'] + self.fail('No empty hotpluggable CPU slot found') + + def _do_cpu_hotplug(self): + """ + Shared hotplug/unplug logic, called after the guest has booted. + + Confirms cpu0+cpu1 are online, hot-adds a second core (cpu2+cpu3), + verifies they come online, hot-removes the core, and verifies they + go offline. Finishes with a clean guest poweroff. + """ + # Confirm initial state: cpu0 and cpu1 online, cpu2 offline/absent. + # Use /sys/devices/system/cpu/online which lists only truly online + # CPUs =E2=80=94 sysfs cpu dirs exist for possible CPUs too so ls = is wrong. + exec_command_and_wait_for_pattern( + self, + 'cat /sys/devices/system/cpu/online', + '0-1', + ) + + # Detect the correct driver for the empty hotplug slot dynamically + # so the test works regardless of which CPU version pseries defaul= ts + # to (power10, power11, etc.). + driver =3D self._get_hotplug_cpu_driver() + + # Hot-add core at core-id=3D2 (supplies threads cpu2 and cpu3 in S= MT-2). + # With threads=3D2 the available hotplug slot is core-id=3D2. + self.vm.cmd( + 'device_add', + driver=3Ddriver, + id=3D'hotcpu1', + **{'core-id': 2}, + ) + + # Poll until cpu2+cpu3 are online. The sentinel is built using a + # shell variable (echo hotplug_cpu_$R) so the full string + # 'hotplug_cpu_done' never appears in the command text. This avoi= ds + # a false match on the shell's echo of the typed command, which + # exec_command_and_wait_for_pattern scans before any output arrive= s. + exec_command_and_wait_for_pattern( + self, + 'until [ "$(cat /sys/devices/system/cpu/online)" =3D "0-3" ];' + ' do sleep 0.5; done; R=3Ddone; echo hotplug_cpu_$R', + 'hotplug_cpu_done', + ) + + # Hot-remove the core. + self.vm.cmd('device_del', id=3D'hotcpu1') + + # Wait until the kernel acknowledges the removal. + exec_command_and_wait_for_pattern( + self, + 'until [ "$(cat /sys/devices/system/cpu/online)" =3D "0-1" ];' + ' do sleep 0.2; done; R=3Ddone; echo unplug_cpu_$R', + 'unplug_cpu_done', + ) + + exec_command_and_wait_for_pattern(self, 'poweroff', '#') + self.vm.wait() + + def test_pseries_cpu_hotplug_tcg(self): + """Hot-add then hot-remove a CPU core on pseries using TCG.""" + self.require_accelerator('tcg') + self._boot_pseries('tcg') + self._do_cpu_hotplug() + + def test_pseries_cpu_hotplug_kvm(self): + """Hot-add then hot-remove a CPU core on pseries using KVM. + + Requires a ppc64le host with kvm-hv loaded; skipped automatically + on other hosts. + """ + self.require_accelerator('kvm') + # On ppc64le the base kvm module can be loaded (and /dev/kvm creat= ed) + # without kvm-hv, so checking /dev/kvm alone is not sufficient. + # Verify that kvm_hv is actually present in /proc/modules. + # This check is ppc64-specific; other arches (x86, arm, ...) use + # different KVM modules and rely solely on /dev/kvm. + if platform.machine() in ('ppc64le', 'ppc64'): + try: + with open('/proc/modules', encoding=3D'utf-8') as f: + if not any(line.split()[0] =3D=3D 'kvm_hv' for line in= f): + self.skipTest('kvm-hv module is not loaded') + except OSError: + pass + self._boot_pseries('kvm') + self._do_cpu_hotplug() + + +if __name__ =3D=3D '__main__': + PseriesCpuHotplug.main() --=20 2.55.0 From nobody Mon Nov 23 04:26:19 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=reject dis=none) header.from=linux.ibm.com ARC-Seal: i=1; a=rsa-sha256; t=1793365985; cv=none; d=zohomail.com; s=zohoarc; b=iZlDYIydB5dN7eTNpVuqV0hwYeu3sPIGjE2bXAdNp2XrRf+V4j904C63rnS3AUMbghbQ8DSEwWC4Z7PuleHYp9G0Cm+QA6upc2QCnW8t7uevAvRfltgLLmOkgzOaSa8ty9CfJIBGtqo1mmm1k93wDhvVZz9ezjOOFLLmWq/vnhk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793365985; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OhVwJjqG8mnodKxmQM+iB/OM5EMdBQ04mh3ttD2jf6g=; b=f9BXDNYjFVBt6TK1GnRmuaWlYeLTDIEfLMHWJHmbQFdUm0s43jtl2zmTmszQZsjkWrE/k34iIPeEYvvOVxgtgt1rzCFs0CVHLZaK4c57R7lXxa5hy/3YYHCUe7UL7Q8JcQplP9PJjCarV0swco/P44ElfIG/uvhxyv0VgR2/95M= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793365985448351.34281017396233; Fri, 30 Oct 2026 06:13:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xMmOx-0005iP-N4; Fri, 30 Oct 2026 09:12:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMmOo-0005g6-Ay; Fri, 30 Oct 2026 09:12:03 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMmOm-0004pP-50; Fri, 30 Oct 2026 09:12:02 -0400 Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69UBILtL1140009; Fri, 30 Oct 2026 13:11:58 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4hmeay2ueg-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 30 Oct 2026 13:11:57 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 69UBK3n9477313; Fri, 30 Oct 2026 13:11:57 GMT Received: from smtprelay04.wdc07v.mail.ibm.com ([172.16.1.71]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4hma543hk2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Oct 2026 13:11:57 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay04.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 69UDBtmp62849450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Oct 2026 13:11:55 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2C85D5805E; Fri, 30 Oct 2026 13:11:55 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8BB6D58055; Fri, 30 Oct 2026 13:11:50 +0000 (GMT) Received: from localhost.localdomain (unknown [9.39.21.33]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 30 Oct 2026 13:11:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=OhVwJj qG8mnodKxmQM+iB/OM5EMdBQ04mh3ttD2jf6g=; b=J6U4pdIjgbQ4VbGNJM0i1z Tivr8VWfaziUgVchZyab6l41BUV2mYu+SkszLUBAk0VBfR4hjYCbU88FVcEcE4hj BnQ9MXO3Ub6QAuQU8hCisIZL7uMcAyz6Yv9cXIbXMtpuHesA9puV3ZnFVYgvRLJ5 kKmvbGcleJR99tGeQTneSTPpgzLuwsFJKzzadvxr4lx/Ht0WBOC149aW6IyXXY7w 74TZnjp/nfL6PtSrq1EZ3UV9AVHNCy/c86Ek6UsRinjTuXEA5Zb1QbQHAor0xzMa 0byYB692fRop5xAqNzlTAtmCfM0/lA8fjOmqfJdsF2I/igcgB4FywOzGXe6bCiAg == From: Anushree Mathur To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, harshpb@linux.ibm.com Cc: npiggin@gmail.com, amachhiw@linux.ibm.com, clg@redhat.com, thuth@redhat.com, adityag@linux.ibm.com, milesg@linux.ibm.com, misanjum@linux.ibm.com, Anushree Mathur Subject: [PATCH 2/3] tests/functional/ppc64: add pseries security caps test Date: Fri, 30 Oct 2026 18:40:23 +0530 Message-ID: <20261030131025.32219-3-anushree.mathur@linux.ibm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261030131025.32219-1-anushree.mathur@linux.ibm.com> References: <20261030131025.32219-1-anushree.mathur@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-ORIG-GUID: mK9UvfGQi0gVQ-eTrxK55om6-xOjyRQY X-Proofpoint-GUID: zPViPxri2sOzJ5KdnXmkYcybxS1s9x2K X-Authority-Analysis: v=2.4 cv=eZyo7LEH c=1 sm=1 tr=0 ts=6ae4979e cx=c_pps a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=uAbxVGIbfxUO_5tXvNgY:22 a=VnNF1IyMAAAA:8 a=fIIx01Jw0jOMtClQMVQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Proofpoint-Spam-Info: AW1haW4tMjYxMDMwMDA1MCBTYWx0ZWRfXxAym1O6tWPcX 9Fn1SZfhbAL1JFeX77Mw5ziZx4p3LSR8taaSK8Y2iuHKVxczlISKws93d4IPFMxc6aXAym7lHzs QSwDJ8gsmhcZNiTdhstXJAegbe5O10M= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDMwMDA1MCBTYWx0ZWRfX+P0QX2Y5nBRq ya56z/FWUIZBXCr3N/3XvjHny7NNWoY8kIXRIOitMxrs7PVKlNZCvAFTBu85r2JiMxqFRiA93MB 74wjS52enw0V0qKV6A6fPDoSjGj3zK2MzXdiecnBcYPyQbokdmQPUmI02Dlv0plbBuvwaCuO3nj PsFH+K3HNesTMFUzh78I7Irtbnfq709fCuWV/9h4sdIAWzXFn+xJRiFJjnt7f01T69+w3YmywIS ehwtjazn2neqBVwk4behw7qKONzdUbeuPR6PBcm7FFFXutD6g00RVbfksn6kMSwt3feGV7JcIeW pWAKY6jpUSqnffHYKb9ex9App2Xnk480/44cbwIAGqRunir3f6ju9oJjEW94HNLvbAg2EWTnJsH DDk5MNrPAp+gFI66VPHTRrymc+Y6E8vzET2f9mRrg9nsY0C8K22MvIUhx//xDfH0v+dE71GizSC We5TArxhQ6EaQDmMC9Q== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-30_04,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610300050 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=lists1p.gnu.org; Received-SPF: pass client-ip=148.163.156.1; envelope-from=anushree.mathur@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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: qemu development 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 @ibm.com) X-ZM-MESSAGEID: 1793365988755154100 Add a quick functional test (no Linux boot required) that validates pseries machine-type security capabilities and backward-compatible machine-type instantiation via the QMP interface. Each test starts QEMU with -S (halted) so no firmware or kernel is needed. The tests cover: * test_pseries_in_query_machines: pseries appears in query-machines and is marked is-default=3Dtrue. * test_pseries_security_caps_override: cap-cfpc, cap-sbbc, cap-ibs and cap-ccf-assist overrides are accepted without error. * test_pseries_nested_hv_cap: cap-nested-hv=3Don is accepted. * test_pseries_compat_7_2/9_2/10_0: versioned compat machines can be instantiated and are not marked is-current. * test_pseries_cpu_model_expansion: skipped (query-cpu-model-expansion is not implemented for ppc64 TCG). * test_pseries_cap_hpt_max_page_size: cap-hpt-max-page-size is reachable via the QOM tree at /machine. All tests complete in under 5 seconds each and are registered in the tests_ppc64_system_quick list. Signed-off-by: Anushree Mathur --- tests/functional/ppc64/meson.build | 1 + tests/functional/ppc64/test_pseries_caps.py | 178 ++++++++++++++++++++ 2 files changed, 179 insertions(+) create mode 100755 tests/functional/ppc64/test_pseries_caps.py diff --git a/tests/functional/ppc64/meson.build b/tests/functional/ppc64/me= son.build index 45468087cb..d91209f041 100644 --- a/tests/functional/ppc64/meson.build +++ b/tests/functional/ppc64/meson.build @@ -14,6 +14,7 @@ test_ppc64_timeouts =3D { =20 tests_ppc64_system_quick =3D [ 'migration', + 'pseries_caps', 'vmstate', ] =20 diff --git a/tests/functional/ppc64/test_pseries_caps.py b/tests/functional= /ppc64/test_pseries_caps.py new file mode 100755 index 0000000000..bf8825187e --- /dev/null +++ b/tests/functional/ppc64/test_pseries_caps.py @@ -0,0 +1,178 @@ +#!/usr/bin/env python3 +# Copyright (c) 2025 IBM Corporation +# +# SPDX-License-Identifier: GPL-2.0-or-later + +from qemu_test import QemuSystemTest + + +class PseriesCapsTest(QemuSystemTest): + """ + Quick (no-boot) tests for pseries machine capabilities. + + Each test starts QEMU with -S (halted) so no firmware or kernel is + needed. The tests exercise the QMP interface to verify that: + + * The machine type is visible in 'query-machines' output. + * Known security capability properties (cap-cfpc, cap-sbbc, + cap-ibs, cap-ccf-assist, cap-nested-hv) are accepted. + * Versioned compat machines (pseries-7.2 =E2=80=A6 pseries-11.1) can + be instantiated and report sensible properties. + * CPU model expansion works for the default POWER10 CPU type. + """ + + timeout =3D 30 + + # ------------------------------------------------------------------ # + # Helpers + # ------------------------------------------------------------------ # + + def _launch_stopped(self, machine=3D'pseries', extra_args=3DNone): + """Launch QEMU paused (-S) for the named machine and return.""" + self.set_machine(machine) + self.vm.add_args('-S', '-nodefaults') + if extra_args: + self.vm.add_args(*extra_args) + self.vm.launch() + + def _query_machine_info(self, name): + """Return the entry from query-machines that matches *name* or ali= as.""" + machines =3D self.vm.cmd('query-machines') + for m in machines: + if m['name'] =3D=3D name or m.get('alias') =3D=3D name: + return m + return None + + # ------------------------------------------------------------------ # + # Test: basic pseries machine is visible in query-machines + # ------------------------------------------------------------------ # + + def test_pseries_in_query_machines(self): + """pseries (latest) must appear in query-machines output.""" + self._launch_stopped('pseries') + info =3D self._query_machine_info('pseries') + self.assertIsNotNone(info, + 'pseries not found in query-machines output') + # The default/latest versioned machine carries is-default=3DTrue. + self.assertTrue( + info.get('is-default', False), + 'pseries alias should be marked is-default=3Dtrue', + ) + + # ------------------------------------------------------------------ # + # Test: security cap overrides are accepted without error + # ------------------------------------------------------------------ # + + def test_pseries_security_caps_override(self): + """ + Verify pseries accepts all well-known security cap overrides. + + These are the options used by the KVM nested-HV path in + test_hv.py. We only check that QEMU starts cleanly (no launch + exception); the actual cap values are enforced by separate + migration / capability tests. + """ + caps =3D ( + 'cap-cfpc=3Dbroken,' + 'cap-sbbc=3Dbroken,' + 'cap-ibs=3Dbroken,' + 'cap-ccf-assist=3Doff' + ) + self._launch_stopped( + 'pseries', + extra_args=3D['-machine', f'pseries,{caps}'], + ) + # If we get here the machine launched without errors. + machines =3D self.vm.cmd('query-machines') + aliases =3D [m.get('alias') for m in machines] + self.assertIn('pseries', aliases) + + # ------------------------------------------------------------------ # + # Test: nested-HV cap is accepted + # ------------------------------------------------------------------ # + + def test_pseries_nested_hv_cap(self): + """pseries must accept cap-nested-hv=3Don without raising an error= .""" + self._launch_stopped( + 'pseries', + extra_args=3D['-machine', 'pseries,x-vof=3Don,cap-nested-hv=3D= on'], + ) + machines =3D self.vm.cmd('query-machines') + aliases =3D [m.get('alias') for m in machines] + self.assertIn('pseries', aliases) + + # ------------------------------------------------------------------ # + # Test: versioned compat machines can be instantiated + # ------------------------------------------------------------------ # + + def _test_compat_machine(self, version_str): + """ + Helper: launch a versioned compat machine and verify that the + name appears in query-machines and that there is at least one + entry marked deprecated (compat machines are always + non-current). + """ + self._launch_stopped(version_str) + info =3D self._query_machine_info(version_str) + self.assertIsNotNone( + info, + f'compat machine {version_str!r} not found in query-machines', + ) + # Compat (versioned) machines are not the latest, so is-current + # must be absent or False. + self.assertFalse( + info.get('is-current', False), + f'{version_str} should not be marked is-current=3Dtrue', + ) + + def test_pseries_compat_7_2(self): + """pseries-7.2 (vmstate reference version) can be instantiated.""" + self._test_compat_machine('pseries-7.2') + + def test_pseries_compat_9_2(self): + """pseries-9.2 can be instantiated.""" + self._test_compat_machine('pseries-9.2') + + def test_pseries_compat_10_0(self): + """pseries-10.0 can be instantiated.""" + self._test_compat_machine('pseries-10.0') + + # ------------------------------------------------------------------ # + # Test: CPU model expansion for pseries + # ------------------------------------------------------------------ # + + def test_pseries_cpu_model_expansion(self): + """ + Verify query-cpu-model-expansion works for POWER10 on pseries. + + The 'full' expansion should return a props dict that includes + at least the 'pvr' property. + + NOTE: query-cpu-model-expansion is not implemented for ppc64 TCG; + this test is skipped until the target gains introspection support. + """ + self.skipTest('query-cpu-model-expansion is not supported on ppc64= ') + + # ------------------------------------------------------------------ # + # Test: HPT and Radix MMU caps exposed via query-machines + # ------------------------------------------------------------------ # + + def test_pseries_cap_hpt_max_page_size(self): + """ + Verify that pseries exposes cap-hpt-max-page-size in its + machine properties (it is used by migration compat checks). + """ + self._launch_stopped('pseries') + # query-machine-props is not a real QMP command; we use the + # object model instead. + props =3D self.vm.cmd('qom-list', path=3D'/machine') + prop_names =3D [p['name'] for p in props] + # The property should be reachable via the QOM tree. + self.assertIn( + 'cap-hpt-max-page-size', prop_names, + 'pseries /machine must expose cap-hpt-max-page-size via QOM', + ) + + +if __name__ =3D=3D '__main__': + PseriesCapsTest.main() --=20 2.55.0 From nobody Mon Nov 23 04:26:19 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=reject dis=none) header.from=linux.ibm.com ARC-Seal: i=1; a=rsa-sha256; t=1793365968; cv=none; d=zohomail.com; s=zohoarc; b=HthW9DKsDmwMQgBlJeFMXgWjUo5rfZ1XOxyhy9t5EBuZ2WawSr15XH2LgfCGH+1nvZb4L86hUHw4yKlIogArT4s7QVoV1GdQ2fgsIiZ8yjRA1XLr5LFe611oGU9FxeNgM/H+i1afquka4JHrC6bAdTVmWN2msaSp0q8ptQ/0MTc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793365968; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=y7d2awRDy+GCiUoJJEz3qcnwt1oZeIdYyMt8rTnIrvo=; b=Yahoq3VM7q/AXr30JqPssZH2c8/JTp6r+TernDaUPJ3eGR+hF6H499RwNczfHAeHMJ210xa/YyVVMVdrpScf2gS8gRibU/d4N8qpQ3EjEtVCEItbyfJ6l5w9qZsmFNyEpeTZZLrWq7VKfRXZWTQXwOTBwsstsSXXqSMmB8oTDKk= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 179336596873528.539528599937398; Fri, 30 Oct 2026 06:12:48 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xMmP0-0005m8-7A; Fri, 30 Oct 2026 09:12:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMmOs-0005gw-CM; Fri, 30 Oct 2026 09:12:07 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMmOq-0004py-O4; Fri, 30 Oct 2026 09:12:06 -0400 Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69UBIWga2971047; Fri, 30 Oct 2026 13:12:03 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4hmeay2ud2-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 30 Oct 2026 13:12:02 +0000 (GMT) Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 69UBK3jw494263; Fri, 30 Oct 2026 13:12:01 GMT Received: from smtprelay06.dal12v.mail.ibm.com ([172.16.1.8]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4hm6pbcj7m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Oct 2026 13:12:01 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay06.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 69UDC0BU25166438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Oct 2026 13:12:00 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 743A85805D; Fri, 30 Oct 2026 13:12:00 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D81FA58055; Fri, 30 Oct 2026 13:11:55 +0000 (GMT) Received: from localhost.localdomain (unknown [9.39.21.33]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 30 Oct 2026 13:11:55 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=y7d2awRDy+GCiUoJJ Ez3qcnwt1oZeIdYyMt8rTnIrvo=; b=TAiktBDxPCw7WllQqom4G+nBf4fn3S+kw KaSM5FKMgfyNhC3Yu9dgdUqeXrAS/B8p1m8do49MDeyq5KDww9AngwVYfvMpv3Rt SVXOmklcKwLLKS7ZZbJ7z90FofegScMhX37CRXuHMZYxoDFWD45sE4mG7VIT8mtJ JyM67VlQhUzHxfCpdGcdjST2MvR403ie+H5xqbaiIdlTupwDUr9/kQAv0rNNh/6R KLHhBDsVwbwoskUKZ/wNE1zafUbWC0b+uMa7Mzqtpd8u7A6e5/gLRKGJk5GV/h6A rF9n0ZnXjqxC3gN0KwRQA9w6am5gOEwT/MWCl7tKj5PmJyl7gZl+A== From: Anushree Mathur To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, harshpb@linux.ibm.com Cc: npiggin@gmail.com, amachhiw@linux.ibm.com, clg@redhat.com, thuth@redhat.com, adityag@linux.ibm.com, milesg@linux.ibm.com, misanjum@linux.ibm.com, Anushree Mathur Subject: [PATCH 3/3] MAINTAINERS: add pseries CPU hotplug and caps functional tests Date: Fri, 30 Oct 2026 18:40:24 +0530 Message-ID: <20261030131025.32219-4-anushree.mathur@linux.ibm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261030131025.32219-1-anushree.mathur@linux.ibm.com> References: <20261030131025.32219-1-anushree.mathur@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDMwMDA1MCBTYWx0ZWRfX1Xf2mKgU68an 0ZhioR2WmCuJ9WrFFtgNfORHZNiiOfodNWKOn16oQ4N+yREviJR8mLDw6YQDT68ElqdUyary1xY 3SLrEgtJS5Xi5yNWTMRSzOY0cLlnrCgrks+lq3U/0ZW50R8VlZQPId3NKFjMPeOUC4n+6VELeBp O1MLL7fvr4FRg39qxaSVkvFNMtEylhqIqpmw3liab778mxRTz3IKeT6g2LHeot29Ovem16LcuDH yDsbF/WeTrUjZH/DaKl5yjhAsMi78oAv9JS1lE9eWq29hGYk6m040JaLw/yBnrXBbwksiVkLWu1 1weCCqR0sIn+p8B+Vi0Leryo8qbPsvaZnSx9FFX7xAGztWIo9whNHDlsigJnmO7rg+y6CYeJ1oM NyQWqyYTzq4rMcI4OqM0V6CwJmYvszSJ0bs9/Jt5k+veo6zH16ef3fCTS+vb2dS0HM/KY59UllF 8zhcmIZYXsIZOQQhG1A== X-Authority-Analysis: v=2.4 cv=WJHqzXsR c=1 sm=1 tr=0 ts=6ae497a3 cx=c_pps a=3Bg1Hr4SwmMryq2xdFQyZA==:117 a=3Bg1Hr4SwmMryq2xdFQyZA==:17 a=660iZSQnnn4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=iQ6ETzBq9ecOQQE5vZCe:22 a=VnNF1IyMAAAA:8 a=pGLkceISAAAA:8 a=wAWy6Tx-qCfImQJ915UA:9 X-Proofpoint-ORIG-GUID: SXu2y4VfOVgWLwp1yK8pjF9-Uwy5I5eV X-Proofpoint-Spam-Info: AW1haW4tMjYxMDMwMDA1MCBTYWx0ZWRfXz8ZOR9blXLWm qrueWf3klFC0rXI46WIrdhd/L3YqbHhT9pe7AJZVphdp3c7yDHrjfG9zjWXmr5rL2X1xK1IZUZd 9XW9ZjY3Rv+JIymGLmqehBP8aLcjSfU= X-Proofpoint-GUID: 7qU13ce_WHNCpqUQT7nvV8k-nmq4i9Tk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-30_04,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 spamscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 malwarescore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610300050 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=lists1p.gnu.org; Received-SPF: pass client-ip=148.163.156.1; envelope-from=anushree.mathur@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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: qemu development 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 @ibm.com) X-ZM-MESSAGEID: 1793365969434158500 Content-Type: text/plain; charset="utf-8" Add entries for the two new pseries functional tests introduced in the preceding commits: - tests/functional/ppc64/test_hotplug_cpu.py - tests/functional/ppc64/test_pseries_caps.py Both belong under the sPAPR (pseries) section. Signed-off-by: Anushree Mathur --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 70e9fed776..a2187c440f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1702,6 +1702,8 @@ F: tests/qtest/libqos/rtas* F: tests/functional/ppc64/test_pseries.py F: tests/functional/ppc64/test_hv.py F: tests/functional/ppc64/test_tuxrun.py +F: tests/functional/ppc64/test_hotplug_cpu.py +F: tests/functional/ppc64/test_pseries_caps.py =20 PowerNV (Non-Virtualized) M: Nicholas Piggin --=20 2.55.0