From nobody Sat Feb 7 21:11:04 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1607612931; cv=none; d=zohomail.com; s=zohoarc; b=meydaMn0+VAzzI650brlTB6aKA17vUtin8vsydjMWkYd1BHh4vEIP+5bgHATlWOcwhFem+fYp7oHbuExeTVBOcKQT8r37Km1FKYlUOScajjAKcH0H97kdZZf66U9EX87X/ztGtZuLn/BEaYeBqrsBqvMShP8PIWErq8ofqcIAgU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607612931; h=Content-Type: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=+rxEf4rvsOj1I/2BcPhdWCtjAI4Y64phv6EzABpeLoM=; b=WL0oM6FmKu4ZbEv0ayCMQBzUnUITYXXTCSeQa00zF9bbgOoWgs/ha7G5Do333HjkJI39+XnjLG+vtbaBsKP1sPuVghiEOsrtB4ckXrzpCT9a0oB1TPVjr/uTD4m2vFBThJ9edAbRfuVSsJJHtoQMgSKYr4AzUN4z9dNOOSUlQ7E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1607612931532420.73529737166234; Thu, 10 Dec 2020 07:08:51 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-39-lrpiAWF7P3e0C9oqvSRs_g-1; Thu, 10 Dec 2020 10:08:43 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DF9A8DF8C5; Thu, 10 Dec 2020 15:08:06 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AD9D45C26D; Thu, 10 Dec 2020 15:08:06 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E66384A7C7; Thu, 10 Dec 2020 15:08:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0BAF7hN5020214 for ; Thu, 10 Dec 2020 10:07:43 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1330D60BFA; Thu, 10 Dec 2020 15:07:43 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.194.198]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D2CA260BF1 for ; Thu, 10 Dec 2020 15:07:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607612927; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+rxEf4rvsOj1I/2BcPhdWCtjAI4Y64phv6EzABpeLoM=; b=aTwQC+o3WwMs3rBXtw9wgPB3de4PubcG2cJZekhXd68wgKyGAa+zyzDbL23payA+e1+95B 838ncv7+nV1hMG1r2Mt7WBX7Hf8zae+A+iWqZTtowU0kukaMnLSu05NHdaWiTb0gjACwfx lfP+b1b+FtB4Fss5F43MzJ64Rsh357Q= X-MC-Unique: lrpiAWF7P3e0C9oqvSRs_g-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] tests: Add capabilities for QEMU 5.2 on aarch64 Date: Thu, 10 Dec 2020 16:07:35 +0100 Message-Id: <20201210150737.530639-2-abologna@redhat.com> In-Reply-To: <20201210150737.530639-1-abologna@redhat.com> References: <20201210150737.530639-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- .../qemu_5.2.0-virt.aarch64.xml | 161 + tests/domaincapsdata/qemu_5.2.0.aarch64.xml | 155 + .../caps_5.2.0.aarch64.replies | 25361 ++++++++++++++++ .../caps_5.2.0.aarch64.xml | 509 + ...fault-cpu-kvm-virt-4.2.aarch64-latest.args | 4 +- ...fault-cpu-tcg-virt-4.2.aarch64-latest.args | 4 +- .../aarch64-features-sve.aarch64-latest.args | 4 +- ...arch64-os-firmware-efi.aarch64-latest.args | 4 +- .../aarch64-virt-graphics.aarch64-latest.args | 4 +- .../aarch64-virt-headless.aarch64-latest.args | 4 +- .../clock-timer-armvtimer.aarch64-latest.args | 4 +- ...ult-video-type-aarch64.aarch64-latest.args | 4 +- .../disk-arm-virtio-sd.aarch64-latest.args | 4 +- .../iommu-smmuv3.aarch64-latest.args | 4 +- 14 files changed, 26216 insertions(+), 10 deletions(-) create mode 100644 tests/domaincapsdata/qemu_5.2.0-virt.aarch64.xml create mode 100644 tests/domaincapsdata/qemu_5.2.0.aarch64.xml create mode 100644 tests/qemucapabilitiesdata/caps_5.2.0.aarch64.replies create mode 100644 tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml diff --git a/tests/domaincapsdata/qemu_5.2.0-virt.aarch64.xml b/tests/domai= ncapsdata/qemu_5.2.0-virt.aarch64.xml new file mode 100644 index 0000000000..ccb95e6eac --- /dev/null +++ b/tests/domaincapsdata/qemu_5.2.0-virt.aarch64.xml @@ -0,0 +1,161 @@ + + /usr/bin/qemu-system-aarch64 [...] diff --git a/tests/domaincapsdata/qemu_5.2.0.aarch64.xml b/tests/domaincaps= data/qemu_5.2.0.aarch64.xml new file mode 100644 index 0000000000..4a897d5e1e --- /dev/null +++ b/tests/domaincapsdata/qemu_5.2.0.aarch64.xml @@ -0,0 +1,155 @@ + + /usr/bin/qemu-system-aarch64 [...] diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_5.2.0.aarch64.replies new file mode 100644 index 0000000000..f30b1882f4 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.replies @@ -0,0 +1,25361 @@ +{ + "execute": "qmp_capabilities", + "id": "libvirt-1" +} + +{ + "return": { + }, + "id": "libvirt-1" +} + +{ + "execute": "query-version", + "id": "libvirt-2" +} + +{ + "return": { + "qemu": { + "micro": 0, + "minor": 2, + "major": 5 + }, + "package": "v5.2.0" + }, + "id": "libvirt-2" +} [...] diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_5.2.0.aarch64.xml new file mode 100644 index 0000000000..cac9b40528 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml @@ -0,0 +1,509 @@ + + /usr/bin/qemu-system-aarch64 [...] diff --git a/tests/qemuxml2argvdata/aarch64-default-cpu-kvm-virt-4.2.aarch6= 4-latest.args b/tests/qemuxml2argvdata/aarch64-default-cpu-kvm-virt-4.2.aar= ch64-latest.args index 8cb202a2c9..0c1fe71619 100644 --- a/tests/qemuxml2argvdata/aarch64-default-cpu-kvm-virt-4.2.aarch64-lates= t.args +++ b/tests/qemuxml2argvdata/aarch64-default-cpu-kvm-virt-4.2.aarch64-lates= t.args @@ -12,8 +12,10 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ --machine virt-4.2,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version= =3D3 \ +-machine virt-4.2,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version= =3D3,\ +memory-backend=3Dmach-virt.ram \ -m 4096 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D4294967296 \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ diff --git a/tests/qemuxml2argvdata/aarch64-default-cpu-tcg-virt-4.2.aarch6= 4-latest.args b/tests/qemuxml2argvdata/aarch64-default-cpu-tcg-virt-4.2.aar= ch64-latest.args index 7518afb17d..858eadc257 100644 --- a/tests/qemuxml2argvdata/aarch64-default-cpu-tcg-virt-4.2.aarch64-lates= t.args +++ b/tests/qemuxml2argvdata/aarch64-default-cpu-tcg-virt-4.2.aarch64-lates= t.args @@ -12,9 +12,11 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ --machine virt-4.2,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version= =3D2 \ +-machine virt-4.2,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version= =3D2,\ +memory-backend=3Dmach-virt.ram \ -cpu cortex-a15 \ -m 4096 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D4294967296 \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ diff --git a/tests/qemuxml2argvdata/aarch64-features-sve.aarch64-latest.arg= s b/tests/qemuxml2argvdata/aarch64-features-sve.aarch64-latest.args index 6852f5d54d..ba79804707 100644 --- a/tests/qemuxml2argvdata/aarch64-features-sve.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-features-sve.aarch64-latest.args @@ -12,9 +12,11 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ --machine virt,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version=3D3 \ +-machine virt,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version=3D3,\ +memory-backend=3Dmach-virt.ram \ -cpu host,sve512=3Don,sve384=3Doff,sve256=3Don,sve128=3Don,sve=3Don \ -m 1024 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D1073741824 \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ diff --git a/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.= args b/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.args index ed6e513f3c..1ff234cc89 100644 --- a/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.args @@ -24,9 +24,11 @@ file=3D/tmp/lib/domain--1-aarch64test/master-key.aes \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,\ "driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine virt-4.0,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version= =3D2,\ -pflash0=3Dlibvirt-pflash0-format,pflash1=3Dlibvirt-pflash1-format \ +pflash0=3Dlibvirt-pflash0-format,pflash1=3Dlibvirt-pflash1-format,\ +memory-backend=3Dmach-virt.ram \ -cpu cortex-a53 \ -m 1024 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D1073741824 \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 496d7ea8-9739-544b-4ebd-ef08be936e8b \ diff --git a/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.ar= gs b/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args index 468f207925..70be61bb33 100644 --- a/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args @@ -24,9 +24,11 @@ file=3D/tmp/lib/domain--1-guest/master-key.aes \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,\ "driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine virt,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version=3D2,\ -pflash0=3Dlibvirt-pflash0-format,pflash1=3Dlibvirt-pflash1-format \ +pflash0=3Dlibvirt-pflash0-format,pflash1=3Dlibvirt-pflash1-format,\ +memory-backend=3Dmach-virt.ram \ -cpu cortex-a15 \ -m 4096 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D4294967296 \ -overcommit mem-lock=3Doff \ -smp 4,sockets=3D4,cores=3D1,threads=3D1 \ -uuid 33844184-97c0-4cc0-aa7d-206f5803530b \ diff --git a/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.ar= gs b/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args index 7101100fd0..d4b4f05f95 100644 --- a/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args @@ -24,9 +24,11 @@ file=3D/tmp/lib/domain--1-guest/master-key.aes \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,\ "driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine virt,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version=3D2,\ -pflash0=3Dlibvirt-pflash0-format,pflash1=3Dlibvirt-pflash1-format \ +pflash0=3Dlibvirt-pflash0-format,pflash1=3Dlibvirt-pflash1-format,\ +memory-backend=3Dmach-virt.ram \ -cpu cortex-a15 \ -m 4096 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D4294967296 \ -overcommit mem-lock=3Doff \ -smp 4,sockets=3D4,cores=3D1,threads=3D1 \ -uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ diff --git a/tests/qemuxml2argvdata/clock-timer-armvtimer.aarch64-latest.ar= gs b/tests/qemuxml2argvdata/clock-timer-armvtimer.aarch64-latest.args index a1faa97b9f..fd6098b8e1 100644 --- a/tests/qemuxml2argvdata/clock-timer-armvtimer.aarch64-latest.args +++ b/tests/qemuxml2argvdata/clock-timer-armvtimer.aarch64-latest.args @@ -12,9 +12,11 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ --machine virt,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version=3D3 \ +-machine virt,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version=3D3,\ +memory-backend=3Dmach-virt.ram \ -cpu host,kvm-no-adjvtime=3Don \ -m 4096 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D4294967296 \ -overcommit mem-lock=3Doff \ -smp 4,sockets=3D4,cores=3D1,threads=3D1 \ -uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ diff --git a/tests/qemuxml2argvdata/default-video-type-aarch64.aarch64-late= st.args b/tests/qemuxml2argvdata/default-video-type-aarch64.aarch64-latest.= args index 4eaeaa5436..8a27403f92 100644 --- a/tests/qemuxml2argvdata/default-video-type-aarch64.aarch64-latest.args +++ b/tests/qemuxml2argvdata/default-video-type-aarch64.aarch64-latest.args @@ -12,8 +12,10 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-default-video-type-a/master-key.aes \ --machine virt,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version=3D3 \ +-machine virt,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff,gic-version=3D3,\ +memory-backend=3Dmach-virt.ram \ -m 1024 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D1073741824 \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 6ba410c5-1e5c-4d57-bee7-2228e7ffa32f \ diff --git a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args = b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args index a12fc5ba8f..c3007e147e 100644 --- a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args +++ b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args @@ -12,9 +12,11 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-armtest/master-key.aes \ --machine vexpress-a9,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ +-machine vexpress-a9,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,\ +memory-backend=3Dvexpress.highmem \ -cpu cortex-a9 \ -m 1024 \ +-object memory-backend-ram,id=3Dvexpress.highmem,size=3D1073741824 \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 496d7ea8-9739-544b-4ebd-ef08be936e6a \ diff --git a/tests/qemuxml2argvdata/iommu-smmuv3.aarch64-latest.args b/test= s/qemuxml2argvdata/iommu-smmuv3.aarch64-latest.args index 940a5d1f91..6ee610849f 100644 --- a/tests/qemuxml2argvdata/iommu-smmuv3.aarch64-latest.args +++ b/tests/qemuxml2argvdata/iommu-smmuv3.aarch64-latest.args @@ -12,9 +12,11 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ --machine virt,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version=3D2,= iommu=3Dsmmuv3 \ +-machine virt,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version=3D2,= iommu=3Dsmmuv3,\ +memory-backend=3Dmach-virt.ram \ -cpu cortex-a15 \ -m 1024 \ +-object memory-backend-ram,id=3Dmach-virt.ram,size=3D1073741824 \ -overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ --=20 2.26.2