From nobody Wed Jan 15 11:51:35 2025 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1704734664982145.2581676102726; Mon, 8 Jan 2024 09:24:24 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id CAABB1B1E; Mon, 8 Jan 2024 12:24:23 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id F2DAE1B39; Mon, 8 Jan 2024 12:02:24 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 88F0C69; Mon, 8 Jan 2024 12:02:07 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 7E4C81B38 for ; Mon, 8 Jan 2024 11:59:12 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-453-fCDmOnfoP3CDuZmMwW9g4w-1; Mon, 08 Jan 2024 11:59:10 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 721E929AC020 for ; Mon, 8 Jan 2024 16:59:10 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.45.227.1]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B10D51C060AF for ; Mon, 8 Jan 2024 16:59:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: fCDmOnfoP3CDuZmMwW9g4w-1 From: Andrea Bolognani To: devel@lists.libvirt.org Subject: [PATCH 2/2] tests: Add capabilities for QEMU 8.2.0 on aarch64 Date: Mon, 8 Jan 2024 17:59:06 +0100 Message-ID: <20240108165906.263678-3-abologna@redhat.com> In-Reply-To: <20240108165906.263678-1-abologna@redhat.com> References: <20240108165906.263678-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: GMVXQI6QVWUKJAP3I3GEO3C744A62KF7 X-Message-ID-Hash: GMVXQI6QVWUKJAP3I3GEO3C744A62KF7 X-MailFrom: abologna@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8"; x-default="true" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1704734665889100001 Notable changes compared to 7.0.0, the most recent version that we had capabilities for until now: * SPICE support is no longer compiled in; * uses of -no-acpi are replaced with -M virt,acpi=3Doff; * -netdev uses JSON. Signed-off-by: Andrea Bolognani Reviewed-by: Peter Krempa --- .../qemu_8.2.0-virt.aarch64.xml | 227 + tests/domaincapsdata/qemu_8.2.0.aarch64.xml | 227 + .../caps_8.2.0_aarch64.replies | 36411 ++++++++++++++++ .../caps_8.2.0_aarch64.xml | 549 + ...ch64-aavmf-virtio-mmio.aarch64-latest.args | 5 +- ...arch64-cpu-passthrough.aarch64-latest.args | 3 +- ...fault-cpu-kvm-virt-4.2.aarch64-latest.args | 3 +- ...fault-cpu-tcg-virt-4.2.aarch64-latest.args | 3 +- .../aarch64-features-sve.aarch64-latest.args | 3 +- ...rch64-gic-default-both.aarch64-latest.args | 3 +- ...aarch64-gic-default-v2.aarch64-latest.args | 3 +- ...aarch64-gic-default-v3.aarch64-latest.args | 3 +- .../aarch64-gic-default.aarch64-latest.args | 3 +- .../aarch64-gic-host.aarch64-latest.args | 3 +- .../aarch64-gic-none-both.aarch64-latest.args | 3 +- .../aarch64-gic-none-tcg.aarch64-latest.args | 3 +- .../aarch64-gic-none-v2.aarch64-latest.args | 3 +- .../aarch64-gic-none-v3.aarch64-latest.args | 3 +- .../aarch64-gic-none.aarch64-latest.args | 3 +- .../aarch64-gic-v2.aarch64-latest.args | 3 +- .../aarch64-gic-v3.aarch64-latest.args | 3 +- .../aarch64-kvm-32-on-64.aarch64-latest.args | 4 +- .../aarch64-pci-serial.aarch64-latest.args | 3 +- .../aarch64-tpm.aarch64-latest.args | 3 +- ...arch64-traditional-pci.aarch64-latest.args | 3 +- ...aarch64-usb-controller.aarch64-latest.args | 3 +- .../aarch64-video-default.aarch64-latest.args | 3 +- ...4-video-virtio-gpu-pci.aarch64-latest.args | 5 +- ...rch64-virt-default-nic.aarch64-latest.args | 5 +- .../aarch64-virt-graphics.aarch64-latest.args | 4 +- .../aarch64-virt-headless.aarch64-latest.args | 4 +- ...rch64-virt-virtio-MMIO.aarch64.latest.args | 5 +- .../aarch64-virt-virtio.aarch64-latest.args | 5 +- ...h64-virtio-pci-default.aarch64-latest.args | 5 +- ...o-pci-manual-addresses.aarch64-latest.args | 7 +- .../arm-vexpressa9-basic.aarch64-latest.args | 2 +- .../arm-vexpressa9-virtio.aarch64-latest.args | 2 +- .../arm-virt-virtio.aarch64-latest.args | 4 +- .../balloon-mmio-deflate.aarch64-latest.args | 3 +- .../clock-timer-armvtimer.aarch64-latest.args | 3 +- ...ult-video-type-aarch64.aarch64-latest.args | 3 +- .../disk-arm-virtio-sd.aarch64-latest.args | 1 - ...mware-auto-efi-aarch64.aarch64-latest.args | 2 +- ...efi-abi-update-aarch64.aarch64-latest.args | 2 +- ...-loader-raw-abi-update.aarch64-latest.args | 2 +- ...-efi-format-loader-raw.aarch64-latest.args | 2 +- ...i-aarch64-legacy-paths.aarch64-latest.args | 2 +- ...anual-efi-acpi-aarch64.aarch64-latest.args | 2 +- ...ual-efi-noacpi-aarch64.aarch64-latest.args | 3 +- ...l-noefi-noacpi-aarch64.aarch64-latest.args | 3 +- .../iommu-smmuv3.aarch64-latest.args | 3 +- ...ch-virt-console-native.aarch64-latest.args | 3 +- ...ch-virt-console-virtio.aarch64-latest.args | 3 +- ...-serial+console-native.aarch64-latest.args | 3 +- ...ach-virt-serial-compat.aarch64-latest.args | 3 +- ...ach-virt-serial-native.aarch64-latest.args | 3 +- .../mach-virt-serial-pci.aarch64-latest.args | 3 +- .../mach-virt-serial-usb.aarch64-latest.args | 3 +- ...e-expander-bus-aarch64.aarch64-latest.args | 3 +- .../pvpanic-pci-aarch64.aarch64-latest.args | 2 +- ...pci-no-address-aarch64.aarch64-latest.args | 2 +- .../virtio-iommu-aarch64.aarch64-latest.args | 2 +- 62 files changed, 37483 insertions(+), 112 deletions(-) create mode 100644 tests/domaincapsdata/qemu_8.2.0-virt.aarch64.xml create mode 100644 tests/domaincapsdata/qemu_8.2.0.aarch64.xml create mode 100644 tests/qemucapabilitiesdata/caps_8.2.0_aarch64.replies create mode 100644 tests/qemucapabilitiesdata/caps_8.2.0_aarch64.xml diff --git a/tests/domaincapsdata/qemu_8.2.0-virt.aarch64.xml b/tests/domai= ncapsdata/qemu_8.2.0-virt.aarch64.xml new file mode 100644 index 0000000000..e4519e4a1b --- /dev/null +++ b/tests/domaincapsdata/qemu_8.2.0-virt.aarch64.xml @@ -0,0 +1,227 @@ + + /usr/bin/qemu-system-aarch64 + kvm + virt-8.2 + aarch64 + + + + + efi + + + /obviously/fake/firmware1.fd + /obviously/fake/firmware2.fd + + rom + pflash + + + yes + no + + + no + + + + + + + off + + + + + on + off + + + + + neoverse-n2 + pxa270-c0 + cortex-a15 + pxa270-b0 + cortex-m4 + cortex-a57 + pxa270-a0 + arm1176 + pxa270-b1 + cortex-a7 + pxa270-a1 + cortex-a76 + a64fx + cortex-a8 + neoverse-v1 + cortex-r5 + ti925t + cortex-r5f + arm1026 + cortex-a9 + cortex-m7 + pxa270 + pxa260 + pxa250 + pxa270-c5 + pxa261 + pxa262 + cortex-a710 + cortex-r52 + sa1110 + sa1100 + max + cortex-a53 + cortex-m0 + cortex-m33 + cortex-a72 + arm946 + pxa255 + cortex-a55 + arm11mpcore + cortex-m55 + neoverse-n1 + arm926 + arm1136 + cortex-a35 + arm1136-r2 + cortex-m3 + + + + + file + anonymous + memfd + + + + + + disk + cdrom + floppy + lun + + + fdc + scsi + virtio + usb + sata + + + virtio + virtio-transitional + virtio-non-transitional + + + + + sdl + vnc + egl-headless + dbus + + + + + + subsystem + + + default + mandatory + requisite + optional + + + usb + pci + scsi + + + + default + vfio + + + + + virtio + virtio-transitional + virtio-non-transitional + + + random + egd + builtin + + + + + path + handle + virtiofs + + + + + tpm-tis + + + passthrough + emulator + external + + + 2.0 + + + + + usb + + + + + pty + unix + + + + + virtio + + + qemu + + + builtin + + + + + + + 3 + + + + + + + + + + + diff --git a/tests/domaincapsdata/qemu_8.2.0.aarch64.xml b/tests/domaincaps= data/qemu_8.2.0.aarch64.xml new file mode 100644 index 0000000000..e4519e4a1b --- /dev/null +++ b/tests/domaincapsdata/qemu_8.2.0.aarch64.xml @@ -0,0 +1,227 @@ + + /usr/bin/qemu-system-aarch64 + kvm + virt-8.2 + aarch64 + + + + + efi + + + /obviously/fake/firmware1.fd + /obviously/fake/firmware2.fd + + rom + pflash + + + yes + no + + + no + + + + + + + off + + + + + on + off + + + + + neoverse-n2 + pxa270-c0 + cortex-a15 + pxa270-b0 + cortex-m4 + cortex-a57 + pxa270-a0 + arm1176 + pxa270-b1 + cortex-a7 + pxa270-a1 + cortex-a76 + a64fx + cortex-a8 + neoverse-v1 + cortex-r5 + ti925t + cortex-r5f + arm1026 + cortex-a9 + cortex-m7 + pxa270 + pxa260 + pxa250 + pxa270-c5 + pxa261 + pxa262 + cortex-a710 + cortex-r52 + sa1110 + sa1100 + max + cortex-a53 + cortex-m0 + cortex-m33 + cortex-a72 + arm946 + pxa255 + cortex-a55 + arm11mpcore + cortex-m55 + neoverse-n1 + arm926 + arm1136 + cortex-a35 + arm1136-r2 + cortex-m3 + + + + + file + anonymous + memfd + + + + + + disk + cdrom + floppy + lun + + + fdc + scsi + virtio + usb + sata + + + virtio + virtio-transitional + virtio-non-transitional + + + + + sdl + vnc + egl-headless + dbus + + + + + + subsystem + + + default + mandatory + requisite + optional + + + usb + pci + scsi + + + + default + vfio + + + + + virtio + virtio-transitional + virtio-non-transitional + + + random + egd + builtin + + + + + path + handle + virtiofs + + + + + tpm-tis + + + passthrough + emulator + external + + + 2.0 + + + + + usb + + + + + pty + unix + + + + + virtio + + + qemu + + + builtin + + + + + + + 3 + + + + + + + + + + + diff --git a/tests/qemucapabilitiesdata/caps_8.2.0_aarch64.replies b/tests/= qemucapabilitiesdata/caps_8.2.0_aarch64.replies new file mode 100644 index 0000000000..aea02842d1 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_8.2.0_aarch64.replies @@ -0,0 +1,36411 @@ +{ + "execute": "qmp_capabilities", + "id": "libvirt-1" +} + +{ + "return": { + }, + "id": "libvirt-1" +} + +{ + "execute": "query-version", + "id": "libvirt-2" +} + +{ + "return": { + "qemu": { + "micro": 0, + "minor": 2, + "major": 8 + }, + "package": "v8.2.0" + }, + "id": "libvirt-2" +} + +{ + "execute": "query-target", + "id": "libvirt-3" +} + +{ + "return": { + "arch": "aarch64" + }, + "id": "libvirt-3" +} [...] diff --git a/tests/qemucapabilitiesdata/caps_8.2.0_aarch64.xml b/tests/qemu= capabilitiesdata/caps_8.2.0_aarch64.xml new file mode 100644 index 0000000000..40d490c1c0 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_8.2.0_aarch64.xml @@ -0,0 +1,549 @@ + + /usr/bin/qemu-system-aarch64 + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8002000 + 61700246 + v8.2.0 + aarch64 [...] diff --git a/tests/qemuxml2argvdata/aarch64-aavmf-virtio-mmio.aarch64-lates= t.args b/tests/qemuxml2argvdata/aarch64-aavmf-virtio-mmio.aarch64-latest.ar= gs index b2dcead15a..5569ff3b57 100644 --- a/tests/qemuxml2argvdata/aarch64-aavmf-virtio-mmio.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-aavmf-virtio-mmio.aarch64-latest.args @@ -10,7 +10,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-aarch64= test/.config \ -name guest=3Daarch64test,debug-threads=3Don \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/va= r/lib/libvirt/qemu/domain--1-aarch64test/master-key.aes"}' \ --machine virt,usb=3Doff,gic-version=3D2,dump-guest-core=3Doff,memory-backe= nd=3Dmach-virt.ram \ +-machine virt,usb=3Doff,gic-version=3D2,dump-guest-core=3Doff,memory-backe= nd=3Dmach-virt.ram,acpi=3Doff \ -accel tcg \ -cpu cortex-a53 \ -m size=3D1048576k \ @@ -25,7 +25,6 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-aarch64= test/.config \ -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ -rtc base=3Dutc \ -no-shutdown \ --no-acpi \ -boot strict=3Don \ -kernel /aarch64.kernel \ -initrd /aarch64.initrd \ @@ -35,7 +34,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-aarch64= test/.config \ -blockdev '{"driver":"file","filename":"/aarch64.raw","node-name":"libvirt= -1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw= ","file":"libvirt-1-storage"}' \ -device '{"driver":"virtio-blk-device","drive":"libvirt-1-format","id":"vi= rtio-disk0","bootindex":1}' \ --netdev user,id=3Dhostnet0 \ +-netdev '{"type":"user","id":"hostnet0"}' \ -device '{"driver":"virtio-net-device","netdev":"hostnet0","id":"net0","ma= c":"52:54:00:09:a4:37"}' \ -chardev pty,id=3Dcharconsole0 \ -device '{"driver":"virtconsole","chardev":"charconsole0","id":"console0"}= ' \ --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org