From nobody Wed Nov 27 06:33:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1556555179; cv=none; d=zoho.com; s=zohoarc; b=dP++uZguaZSFnZQY1VTb3SNMLpke6Js0clvgEjg+xrGisMunW7geeezmjhvQhJJ1G6mc6uB9uqrzjEa/96kQ3U1apnWGZ5IlKh23wd9K5sMr5Zc9on590vlVH93s/KM9sKgeSW1If6lRYR2EaI/SEcBy+1Zelu8i6nAmS+HYAR8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556555179; 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:ARC-Authentication-Results; bh=bpchorZHiSPtwQRDyD8c/LvGhW8DSF2qL5MVTr1Fjfk=; b=QRKaM1yylDMTpNFcY0erap8wsQmzLefo05+meSTLz1sVD2uezjMUtpN9l/85kC4gnG6BdgAQbArZvtLiN4sSbATCwcIMMyQdv8ExH4FNtmJuwCwG7FjZQqgIp8cq5/DEXSC30+ZlQbQrNZiqjNGkZR6hms01akyW0yNIbJz3hoM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 155655517964025.053880425029547; Mon, 29 Apr 2019 09:26:19 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id AA5792D7F9; Mon, 29 Apr 2019 16:26:17 +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 7F59517189; Mon, 29 Apr 2019 16:26:17 +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 3368E3FAF4; Mon, 29 Apr 2019 16:26:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x3TGQF7G004480 for ; Mon, 29 Apr 2019 12:26:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id 75729D1C8; Mon, 29 Apr 2019 16:26:15 +0000 (UTC) Received: from kinshicho.redhat.com (unknown [10.40.205.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 13648600C2 for ; Mon, 29 Apr 2019 16:26:09 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Mon, 29 Apr 2019 18:25:54 +0200 Message-Id: <20190429162555.19576-5-abologna@redhat.com> In-Reply-To: <20190429162555.19576-1-abologna@redhat.com> References: <20190429162555.19576-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 4/5] tests: Add capabilities for QEMU 4.0.0 on aarch64 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 29 Apr 2019 16:26:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- The changes in the .args file seem entirely justified by the fact that those for aarch64-virt-headless and aarch64-virt-graphics use the new command line option too. .../caps_4.0.0.aarch64.replies | 19997 ++++++++++++++++ .../caps_4.0.0.aarch64.xml | 310 + ...arch64-os-firmware-efi.aarch64-latest.args | 2 +- .../aarch64-virt-graphics.aarch64-latest.args | 2 +- .../aarch64-virt-headless.aarch64-latest.args | 2 +- 5 files changed, 20310 insertions(+), 3 deletions(-) create mode 100644 tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies create mode 100644 tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_4.0.0.aarch64.replies new file mode 100644 index 0000000000..fa092a409e --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies @@ -0,0 +1,19997 @@ +{ + "execute": "qmp_capabilities", + "id": "libvirt-1" +} + +{ + "return": { + }, + "id": "libvirt-1" +} + +{ + "execute": "query-version", + "id": "libvirt-2" +} + +{ + "return": { + "qemu": { + "micro": 0, + "minor": 0, + "major": 4 + }, + "package": "v4.0.0" + }, + "id": "libvirt-2" +} [...] diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_4.0.0.aarch64.xml new file mode 100644 index 0000000000..7bcda0b402 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml @@ -0,0 +1,310 @@ + [...] + 4000000 + 0 + 61700758 + v4.0.0 + aarch64 [...] diff --git a/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.= args b/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.args index c9f38e4796..9821e28358 100644 --- a/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-os-firmware-efi.aarch64-latest.args @@ -19,7 +19,7 @@ readonly=3Don \ -drive file=3D/var/lib/libvirt/qemu/nvram/aarch64test_VARS.fd,if=3Dpflash,\ format=3Draw,unit=3D1 \ -m 1024 \ --realtime mlock=3Doff \ +-overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 496d7ea8-9739-544b-4ebd-ef08be936e8b \ -display none \ diff --git a/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.ar= gs b/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args index b61eb56a1f..7f18f5e9e8 100644 --- a/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-virt-graphics.aarch64-latest.args @@ -18,7 +18,7 @@ readonly=3Don \ -drive file=3D/var/lib/libvirt/qemu/nvram/guest_VARS.fd,if=3Dpflash,format= =3Draw,\ unit=3D1 \ -m 4096 \ --realtime mlock=3Doff \ +-overcommit mem-lock=3Doff \ -smp 4,sockets=3D4,cores=3D1,threads=3D1 \ -uuid 33844184-97c0-4cc0-aa7d-206f5803530b \ -no-user-config \ diff --git a/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.ar= gs b/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args index 62471e7f4b..cc1189031a 100644 --- a/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args +++ b/tests/qemuxml2argvdata/aarch64-virt-headless.aarch64-latest.args @@ -14,7 +14,7 @@ QEMU_AUDIO_DRV=3Dnone \ file=3D/tmp/lib/domain--1-guest/master-key.aes \ -machine virt,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,gic-version=3D2 \ -m 1024 \ --realtime mlock=3Doff \ +-overcommit mem-lock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ -display none \ --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list