From nobody Mon Feb 9 17:58:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1580488814252816.0340783333626; Fri, 31 Jan 2020 08:40:14 -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-6-Vvh4fenWPNineW8XE1fCbQ-1; Fri, 31 Jan 2020 11:40:10 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BAC7E19057DE; Fri, 31 Jan 2020 16:40:02 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 629E119C4F; Fri, 31 Jan 2020 16:40:02 +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 C57ED18089CE; Fri, 31 Jan 2020 16:40:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00VGdx1E024283 for ; Fri, 31 Jan 2020 11:39:59 -0500 Received: by smtp.corp.redhat.com (Postfix) id F22CF100EBA8; Fri, 31 Jan 2020 16:39:58 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.43.2.246]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 534521001925 for ; Fri, 31 Jan 2020 16:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580488813; 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=mT1XgnZ9Ukh1t/0lOpj3S8Gop1ayWSwiClNYflT/548=; b=fY/c/+n0kuvquLsOR+woEgaUZ80AK2qrXiqZo5CNXpPzEYlvHKGkVFQKb9CFTgB+Y8rpf1 kGQahx6JcFc0d9lqpMrezUGvcU8xlMUxKbZAhawq4Rph684NxDWuej87hJeJhy+bV2CYA5 aRCpM8hRHzc+V940lrcS/7FkSPyayyA= From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/5] tests: Add capabilities for QEMU 5.0.0 on aarch64 Date: Fri, 31 Jan 2020 17:39:48 +0100 Message-Id: <20200131163952.525863-2-abologna@redhat.com> In-Reply-To: <20200131163952.525863-1-abologna@redhat.com> References: <20200131163952.525863-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.84 on 10.5.11.23 X-MC-Unique: Vvh4fenWPNineW8XE1fCbQ-1 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" This is the first QEMU version that supports the kvm-no-adjvtime CPU feature. Signed-off-by: Andrea Bolognani Reviewed-by: J=C3=A1n Tomko --- This patch has been trimmed. .../qemu_5.0.0-virt.aarch64.xml | 156 + tests/domaincapsdata/qemu_5.0.0.aarch64.xml | 150 + .../caps_5.0.0.aarch64.replies | 22717 ++++++++++++++++ .../caps_5.0.0.aarch64.xml | 456 + 4 files changed, 23479 insertions(+) create mode 100644 tests/domaincapsdata/qemu_5.0.0-virt.aarch64.xml create mode 100644 tests/domaincapsdata/qemu_5.0.0.aarch64.xml create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml diff --git a/tests/domaincapsdata/qemu_5.0.0-virt.aarch64.xml b/tests/domai= ncapsdata/qemu_5.0.0-virt.aarch64.xml new file mode 100644 index 0000000000..f92ae951ca --- /dev/null +++ b/tests/domaincapsdata/qemu_5.0.0-virt.aarch64.xml @@ -0,0 +1,156 @@ + + /usr/bin/qemu-system-aarch64 + kvm + virt-5.0 + aarch64 [...] diff --git a/tests/domaincapsdata/qemu_5.0.0.aarch64.xml b/tests/domaincaps= data/qemu_5.0.0.aarch64.xml new file mode 100644 index 0000000000..232aacec2f --- /dev/null +++ b/tests/domaincapsdata/qemu_5.0.0.aarch64.xml @@ -0,0 +1,150 @@ + + /usr/bin/qemu-system-aarch64 + kvm + integratorcp + aarch64 [...] diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_5.0.0.aarch64.replies new file mode 100644 index 0000000000..a3136a0966 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies @@ -0,0 +1,22717 @@ +{ + "execute": "qmp_capabilities", + "id": "libvirt-1" +} + +{ + "return": { + }, + "id": "libvirt-1" +} + +{ + "execute": "query-version", + "id": "libvirt-2" +} + +{ + "return": { + "qemu": { + "micro": 50, + "minor": 2, + "major": 4 + }, + "package": "v4.2.0-1157-gadcd6e93b9" + }, + "id": "libvirt-2" +} [...] +{ + "execute": "query-cpu-model-expansion", + "arguments": { + "type": "full", + "model": { + "name": "host" + } + }, + "id": "libvirt-42" +} + +{ + "return": { + "model": { + "name": "host", + "props": { + "sve768": false, + "sve128": false, + "sve1024": false, + "sve1280": false, + "sve896": false, + "sve256": false, + "sve1536": false, + "sve1792": false, + "sve384": false, + "sve": false, + "sve2048": false, + "kvm-no-adjvtime": false, + "sve512": false, + "aarch64": true, + "pmu": true, + "sve1920": false, + "sve1152": false, + "sve640": false, + "sve1408": false, + "sve1664": false + } + } + }, + "id": "libvirt-42" +} [...] diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_5.0.0.aarch64.xml new file mode 100644 index 0000000000..538b40dd5b --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml @@ -0,0 +1,456 @@ + + /usr/bin/qemu-system-aarch64 [...] + 4002050 + 0 + 61700241 + v4.2.0-1157-gadcd6e93b9 + aarch64 + + + + + + + + + + + + + + + + + + + + + + [...] --=20 2.24.1