From nobody Mon Feb 2 07:30:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1768488164; cv=none; d=zohomail.com; s=zohoarc; b=LxIUYBqwHK4KUvi/5HZ0ozy5ru7KlBACt0x63IKmd9o0d7itDCskfmCzxlYlNceiiKVowigqOl6n4y/Fk17xCpCS09ChrKMy9/gzwgINQQ8nwMs9A2YFX2eZKPCFtIa0Gk92t98PD/qomdaCdcKINfAxbXkuhEJZzTp44RGk+Vk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768488164; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=LxuNI6ajgzLPZDI1T9teC6AyOcpVnI3Y0N1LP35g8e0=; b=c/SpBTaVZIRsezDrq9YMzTxbKQoFR0VjiGzyA26yRRTKVrALVdmVONky1kN0ozfPLAGk5c+OKft5sG5tJIb9HCA311rKFghMm5qK/VcjMPrslTmEDCY0uo8rYm2zzjbjhzq6QBD5+0xdghtGIT9jU5Zz5NmRCyeE2VTIoqVJm0o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1768488164206216.15408855401984; Thu, 15 Jan 2026 06:42:44 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 5232A4197D; Thu, 15 Jan 2026 09:42:19 -0500 (EST) Received: from [172.19.199.83] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 4B25D43EA8; Thu, 15 Jan 2026 09:38:26 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 5C1063FBC9; Thu, 15 Jan 2026 09:38:03 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 173BE3FCFD for ; Thu, 15 Jan 2026 09:38:02 -0500 (EST) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-354-jOuPuCtEOaGBAONg6PPbPw-1; Thu, 15 Jan 2026 09:38:00 -0500 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8C0441954B06 for ; Thu, 15 Jan 2026 14:37:59 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.3]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D6F563001DB5 for ; Thu, 15 Jan 2026 14:37:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768487881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LxuNI6ajgzLPZDI1T9teC6AyOcpVnI3Y0N1LP35g8e0=; b=Zm0NToLbubJwbxodovhLxMHX9p2eY+qIunZohUBXiV8nBFdzFvSGQpR18PJNoUaC59MGA9 iCy6qAKmuy+X7Gc8oH/wgCTUr3G8qnnLKh5WTpaMedQ8HOM/zkiMXg7NpSa4hBDmDJ7l6o sD0eTK2U0krN6uTE8h7viQVXJzRlDqM= X-MC-Unique: jOuPuCtEOaGBAONg6PPbPw-1 X-Mimecast-MFC-AGG-ID: jOuPuCtEOaGBAONg6PPbPw_1768487879 To: devel@lists.libvirt.org Subject: [PATCH 3/5] qemuxmlconftest: Prepare 'fd-memory-numa-topology4' for removal of 'pc-i440fx-5.0' Date: Thu, 15 Jan 2026 15:37:51 +0100 Message-ID: <143a756dae3518f724263fe40f2834a8400a043b.1768487760.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: xff_NnVAFpuZh4td24jpqnkL1abHwtCUAh10lNqgovc_1768487879 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 7PRGIABE3XZJCS7CKPR5YRPO6BGEXVJ5 X-Message-ID-Hash: 7PRGIABE3XZJCS7CKPR5YRPO6BGEXVJ5 X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1768488165241158500 Content-Type: text/plain; charset="utf-8" From: Peter Krempa Per commit message of 3f390db2e2ed33cda8e which added the 'fd-memory-numa-topology4' case, it's supposed to test memory preallocation setting in the NUMA setup. Now the 5.0 machine type is the last one supporting the old-style NUMA config and thus also the only way to test the formatting of '--mem-prealloc' commandline option for qemu, which was since replaced by a property in the memory backend object. Thus to preserve the idea of this test, add 'fd-memory-numa-topology4-old-machine' test case pinned to qemu-10.2, which will use pc-i440fx-5.0 and modernize the normal case using the latest qemu version by dropping the specific machine version. Signed-off-by: Peter Krempa --- ...a-topology4-old-machine.x86_64-10.2.0.args | 34 +++++++++++++++++ ...ma-topology4-old-machine.x86_64-10.2.0.xml | 37 +++++++++++++++++++ .../fd-memory-numa-topology4-old-machine.xml | 37 +++++++++++++++++++ ...d-memory-numa-topology4.x86_64-latest.args | 6 +-- .../fd-memory-numa-topology4.xml | 2 +- tests/qemuxmlconftest.c | 4 ++ 6 files changed, 116 insertions(+), 4 deletions(-) create mode 100644 tests/qemuxmlconfdata/fd-memory-numa-topology4-old-mach= ine.x86_64-10.2.0.args create mode 100644 tests/qemuxmlconfdata/fd-memory-numa-topology4-old-mach= ine.x86_64-10.2.0.xml create mode 100644 tests/qemuxmlconfdata/fd-memory-numa-topology4-old-mach= ine.xml diff --git a/tests/qemuxmlconfdata/fd-memory-numa-topology4-old-machine.x86= _64-10.2.0.args b/tests/qemuxmlconfdata/fd-memory-numa-topology4-old-machin= e.x86_64-10.2.0.args new file mode 100644 index 0000000000..3cc67fb138 --- /dev/null +++ b/tests/qemuxmlconfdata/fd-memory-numa-topology4-old-machine.x86_64-10.= 2.0.args @@ -0,0 +1,34 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/var/lib/libvirt/qemu/domain--1-pc \ +USER=3Dtest \ +LOGNAME=3Dtest \ +XDG_DATA_HOME=3D/var/lib/libvirt/qemu/domain--1-pc/.local/share \ +XDG_CACHE_HOME=3D/var/lib/libvirt/qemu/domain--1-pc/.cache \ +XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-pc/.config \ +/usr/bin/qemu-system-x86_64 \ +-name guest=3Dpc,debug-threads=3Don \ +-S \ +-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/va= r/lib/libvirt/qemu/domain--1-pc/master-key.aes"}' \ +-machine pc-i440fx-5.0,usb=3Doff,dump-guest-core=3Doff,acpi=3Doff \ +-accel kvm \ +-cpu qemu64 \ +-m size=3D1048576k \ +-overcommit mem-lock=3Doff \ +-smp 2,sockets=3D2,cores=3D1,threads=3D1 \ +-mem-prealloc \ +-numa node,nodeid=3D0,cpus=3D0-1,mem=3D1024 \ +-uuid bb508b28-d57b-44bd-9e9c-a134cef24b60 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server=3Don,wait=3Doff \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-boot strict=3Don \ +-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pci.0","addr":"0x1.0= x2"}' \ +-audiodev '{"id":"audio1","driver":"none"}' \ +-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","add= r":"0x2"}' \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resource= control=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxmlconfdata/fd-memory-numa-topology4-old-machine.x86= _64-10.2.0.xml b/tests/qemuxmlconfdata/fd-memory-numa-topology4-old-machine= .x86_64-10.2.0.xml new file mode 100644 index 0000000000..2f5bd3e839 --- /dev/null +++ b/tests/qemuxmlconfdata/fd-memory-numa-topology4-old-machine.x86_64-10.= 2.0.xml @@ -0,0 +1,37 @@ + + pc + bb508b28-d57b-44bd-9e9c-a134cef24b60 + 1179648 + 1179648 + + + + 2 + + hvm + + + + qemu64 + + + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + +
+ + + + +