From nobody Fri May 3 06:08:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.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 207.211.31.120 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=1588758261; cv=none; d=zohomail.com; s=zohoarc; b=csWe9E+R2pTAlP88bhRA3E+5TPvv04iYZZsj8lFMuCvaq4XftEDesVQWAVEbELAUbFSqaqwf0SE0obgO/KkYQQBaswRg8CSCL3gRLKcW2qitgqpisG0qQ+Mdli1/HAPRX0TuEyxkAvIr5/KcBg1kmd6xaRRfP0dL/z5/rUdLp74= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588758261; 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=FNhxbCCw64yy/WkR1Bpt1NFBVUXiTrjpvJY9ScUMG98=; b=eMblnPrHd+gHZagjXz6zSBAuqQ6e676DyAgmv5znnEs6G62G+xq/eEOf0FXJW8Tjx/fF2hVSTnFkM9LY4lzAegCMjdsdY0iuUriUkejAiUX8+rlU7yXV38kNe2uK+SZ4MYqzACP3G3BwMaIbQOZOly9T3id4gezpUv2AN3Qap/8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1588758261485223.3323220436513; Wed, 6 May 2020 02:44:21 -0700 (PDT) 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-175-ogJ5_KErNL6218l4RdQJnw-1; Wed, 06 May 2020 05:44:18 -0400 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 1BCE0461; Wed, 6 May 2020 09:44:13 +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 E4CA6385; Wed, 6 May 2020 09:44:12 +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 9F4631809554; Wed, 6 May 2020 09:44:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0469i33s017487 for ; Wed, 6 May 2020 05:44:03 -0400 Received: by smtp.corp.redhat.com (Postfix) id 50BCC5C1D6; Wed, 6 May 2020 09:44:03 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.194.206]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 821895C1BD for ; Wed, 6 May 2020 09:44:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588758260; 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=FNhxbCCw64yy/WkR1Bpt1NFBVUXiTrjpvJY9ScUMG98=; b=jBOYfDJclqzRndKmIgmv6aW4PQsp2NVLS/MQRvqMdeTsOSnGPmjXgPZSY8LKl+YSgkaDNn i8RRMRNb9xrykVkfFnoURINR0UynYSr1yMCDKtAz1qARcNOEkqhxn5Y+//6jgCMLKmJ3UF o+Ygn4Ds6f8sP3CJYgGSDWlSKW3L6NU= X-MC-Unique: ogJ5_KErNL6218l4RdQJnw-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] tests: Update capabilities for QEMU 5.0.0 on aarch64 Date: Wed, 6 May 2020 11:43:52 +0200 Message-Id: <20200506094354.289868-2-abologna@redhat.com> In-Reply-To: <20200506094354.289868-1-abologna@redhat.com> References: <20200506094354.289868-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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-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 Reviewed-by: Michal Privoznik --- .../qemu_5.0.0-virt.aarch64.xml | 60 +- tests/domaincapsdata/qemu_5.0.0.aarch64.xml | 60 +- .../caps_5.0.0.aarch64.replies | 8937 +++++++++-------- .../caps_5.0.0.aarch64.xml | 384 +- 4 files changed, 5119 insertions(+), 4322 deletions(-) diff --git a/tests/domaincapsdata/qemu_5.0.0-virt.aarch64.xml b/tests/domai= ncapsdata/qemu_5.0.0-virt.aarch64.xml index f92ae951ca..7153a0b80d 100644 --- a/tests/domaincapsdata/qemu_5.0.0-virt.aarch64.xml +++ b/tests/domaincapsdata/qemu_5.0.0-virt.aarch64.xml @@ -30,43 +30,43 @@ - pxa262 - pxa270-a0 - arm1136 [...] diff --git a/tests/domaincapsdata/qemu_5.0.0.aarch64.xml b/tests/domaincaps= data/qemu_5.0.0.aarch64.xml index 232aacec2f..a3e20cc3d8 100644 --- a/tests/domaincapsdata/qemu_5.0.0.aarch64.xml +++ b/tests/domaincapsdata/qemu_5.0.0.aarch64.xml @@ -28,43 +28,43 @@ - pxa262 - pxa270-a0 - arm1136 [...] diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_5.0.0.aarch64.replies index 067cbb7e31..44f1bc6fb7 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.replies @@ -17,11 +17,11 @@ { "return": { "qemu": { - "micro": 50, - "minor": 2, - "major": 4 + "micro": 0, + "minor": 0, + "major": 5 }, - "package": "v4.2.0-1157-gadcd6e93b9" + "package": "v5.0.0" }, "id": "libvirt-2" } [...] diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_5.0.0.aarch64.xml index 3bacfe13dc..1f743aaa11 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml @@ -42,6 +42,8 @@ [...] - 4002050 + 5000000 0 61700241 - v4.2.0-1157-gadcd6e93b9 + v5.0.0 [...] --=20 2.25.4 From nobody Fri May 3 06:08:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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=1588758310; cv=none; d=zohomail.com; s=zohoarc; b=NhbzbbAJu+q28M8/wF8j0+jRAr469bWWUTSpdDF3TXFBlLOp+RcrSjusIVYTfvLd8V7bwZ6VWXrZJyyvXu5DrIpG31V9KOZn5Lf86PZZNaeevwo/yTA9RvpQgGYNDCWDVCblpphkdXm64Luxarj1nsu80nRIPOS2H2tdY3yI+4M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588758310; 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=RWA5QeIAT8xCMZciibIBUrviWprH3Mlvorra+ihUMkY=; b=f5o5n5eA+QuDK05O5g6i9a2yccDuHAesqz0UDhBwij1p64P7I/LusQQekeyb0KBMvkowUmJqaQMirw+WEzHIjXwrUjp0Ghv3QrNjS/NhE+FCkF3sJj6YDKScm86Cm8k8eWOiLeURoHgCse5KtC09qfhoPqFidAvvfBXIoyQaJm8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1588758310611705.6086188506389; Wed, 6 May 2020 02:45:10 -0700 (PDT) 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-65-pa7uqP9tPVK-IIcVJu_JnQ-1; Wed, 06 May 2020 05:44:23 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F04FE107ACF3; Wed, 6 May 2020 09:44:16 +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 CC38510013D9; Wed, 6 May 2020 09:44:16 +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 8B5C71809557; Wed, 6 May 2020 09:44:16 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0469i5vp017497 for ; Wed, 6 May 2020 05:44:05 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2D2845C1D4; Wed, 6 May 2020 09:44:05 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.194.206]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E5A065C1BD for ; Wed, 6 May 2020 09:44:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588758309; 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=RWA5QeIAT8xCMZciibIBUrviWprH3Mlvorra+ihUMkY=; b=XBLKadUp+VmUH4s/r0u09z7NFiv8QSi8YRm3paJAgpcM5vhLE3PVlEhPRIIAFKVCiYLoDr vkEn1ZIs15IO29gbVGBN355LmRfxde4yuPDSL43W/jN8f/SnRgthj+EGm3HT9jMK8medMn JfiLy9zYvpIz6Tl6961WYQOy6RW5zKs= X-MC-Unique: pa7uqP9tPVK-IIcVJu_JnQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 2/3] tests: Update capabilities for QEMU 5.0.0 on ppc64 Date: Wed, 6 May 2020 11:43:53 +0200 Message-Id: <20200506094354.289868-3-abologna@redhat.com> In-Reply-To: <20200506094354.289868-1-abologna@redhat.com> References: <20200506094354.289868-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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.22 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" The churn in the output files is caused primarily by the fact that replies were generated on a POWER9 machine, which is good because we didn't have coverage of that before. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- .../caps_5.0.0.ppc64.replies | 2163 +++++++++++------ .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml | 15 +- ...default-video-type-ppc64.ppc64-latest.args | 2 + ...ory-hotplug-nvdimm-ppc64.ppc64-latest.args | 2 + ...ault-cpu-kvm-pseries-2.7.ppc64-latest.args | 4 +- ...ault-cpu-kvm-pseries-3.1.ppc64-latest.args | 4 +- ...ault-cpu-kvm-pseries-4.2.ppc64-latest.args | 4 +- ...ault-cpu-tcg-pseries-2.7.ppc64-latest.args | 2 + ...ault-cpu-tcg-pseries-3.1.ppc64-latest.args | 2 + ...ault-cpu-tcg-pseries-4.2.ppc64-latest.args | 2 + .../ppc64-pseries-graphics.ppc64-latest.args | 2 + .../ppc64-pseries-headless.ppc64-latest.args | 2 + .../tpm-emulator-spapr.ppc64-latest.args | 2 + ...fault-cpu-kvm-pseries-2.7.ppc64-latest.xml | 2 +- ...fault-cpu-kvm-pseries-3.1.ppc64-latest.xml | 2 +- ...fault-cpu-kvm-pseries-4.2.ppc64-latest.xml | 2 +- 16 files changed, 1454 insertions(+), 758 deletions(-) diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_5.0.0.ppc64.replies index 8e754bfb80..a046b099b6 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies @@ -17,11 +17,11 @@ { "return": { "qemu": { - "micro": 50, - "minor": 2, - "major": 4 + "micro": 0, + "minor": 0, + "major": 5 }, - "package": "v4.2.0-2387-g3189e9d38c" + "package": "v5.0.0" }, "id": "libvirt-2" } [...] diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_5.0.0.ppc64.xml index a998bed430..a5f0bb538b 100644 --- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml @@ -28,6 +28,7 @@ [...] - 4002050 + 5000000 0 42900241 - v4.2.0-2387-g3189e9d38c + v5.0.0 ppc64 - + - + [...] diff --git a/tests/qemuxml2argvdata/default-video-type-ppc64.ppc64-latest.a= rgs b/tests/qemuxml2argvdata/default-video-type-ppc64.ppc64-latest.args index 5fadd1b61f..795c5a5c58 100644 --- a/tests/qemuxml2argvdata/default-video-type-ppc64.ppc64-latest.args +++ b/tests/qemuxml2argvdata/default-video-type-ppc64.ppc64-latest.args @@ -30,4 +30,6 @@ file=3D/tmp/lib/domain--1-default-video-type-p/master-key= .aes \ -device usb-mouse,id=3Dinput1,bus=3Dusb.0,port=3D2 \ -vnc 127.0.0.1:0 \ -device VGA,id=3Dvideo0,vgamem_mb=3D16,bus=3Dpci.0,addr=3D0x2 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.ppc64-lates= t.args b/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.ppc64-latest.ar= gs index 7f556a6668..eff80dcf80 100644 --- a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.ppc64-latest.args +++ b/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.ppc64-latest.args @@ -33,4 +33,6 @@ uuid=3D49545eb3-75e1-2d0a-acdd-f0294406c99e,memdev=3Dmemn= vdimm0,id=3Dnvdimm0,slot=3D0 \ -boot strict=3Don \ -device pci-ohci,id=3Dusb,bus=3Dpci.0,addr=3D0x1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x2 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64= -latest.args b/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-2.7.ppc= 64-latest.args index c34821c7e8..03c2aeb7fb 100644 --- a/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-latest= .args +++ b/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-latest= .args @@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=3Dnone \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ -machine pseries-2.7,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff \ --cpu POWER8 \ +-cpu POWER9 \ -m 4096 \ -overcommit mem-lock=3Doff \ -smp 4,sockets=3D4,cores=3D1,threads=3D1 \ @@ -36,4 +36,6 @@ id=3Dvirtio-disk0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x30000000 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-3.1.ppc64= -latest.args b/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-3.1.ppc= 64-latest.args index 3d02221d3f..3827978c66 100644 --- a/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-3.1.ppc64-latest= .args +++ b/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-3.1.ppc64-latest= .args @@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=3Dnone \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ -machine pseries-3.1,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff \ --cpu POWER8 \ +-cpu POWER9 \ -m 4096 \ -overcommit mem-lock=3Doff \ -smp 4,sockets=3D4,cores=3D1,threads=3D1 \ @@ -36,4 +36,6 @@ id=3Dvirtio-disk0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x30000000 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-4.2.ppc64= -latest.args b/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-4.2.ppc= 64-latest.args index fac43e4cc1..5e9774e512 100644 --- a/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-4.2.ppc64-latest= .args +++ b/tests/qemuxml2argvdata/ppc64-default-cpu-kvm-pseries-4.2.ppc64-latest= .args @@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=3Dnone \ -object secret,id=3DmasterKey0,format=3Draw,\ file=3D/tmp/lib/domain--1-guest/master-key.aes \ -machine pseries-4.2,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff \ --cpu POWER8 \ +-cpu POWER9 \ -m 4096 \ -overcommit mem-lock=3Doff \ -smp 4,sockets=3D4,cores=3D1,threads=3D1 \ @@ -36,4 +36,6 @@ id=3Dvirtio-disk0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x30000000 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-2.7.ppc64= -latest.args b/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-2.7.ppc= 64-latest.args index a2ffca1d30..ec00df93ca 100644 --- a/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-2.7.ppc64-latest= .args +++ b/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-2.7.ppc64-latest= .args @@ -36,4 +36,6 @@ id=3Dvirtio-disk0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x30000000 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-3.1.ppc64= -latest.args b/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-3.1.ppc= 64-latest.args index 01f84fde88..acba692b0d 100644 --- a/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-3.1.ppc64-latest= .args +++ b/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-3.1.ppc64-latest= .args @@ -36,4 +36,6 @@ id=3Dvirtio-disk0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x30000000 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-4.2.ppc64= -latest.args b/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-4.2.ppc= 64-latest.args index 3738ac7386..5727576c81 100644 --- a/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-4.2.ppc64-latest= .args +++ b/tests/qemuxml2argvdata/ppc64-default-cpu-tcg-pseries-4.2.ppc64-latest= .args @@ -36,4 +36,6 @@ id=3Dvirtio-disk0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x30000000 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-pseries-graphics.ppc64-latest.arg= s b/tests/qemuxml2argvdata/ppc64-pseries-graphics.ppc64-latest.args index ba508ca79d..2e0ba1e7f4 100644 --- a/tests/qemuxml2argvdata/ppc64-pseries-graphics.ppc64-latest.args +++ b/tests/qemuxml2argvdata/ppc64-pseries-graphics.ppc64-latest.args @@ -48,4 +48,6 @@ id=3Dchannel0,name=3Dorg.qemu.guest_agent.0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 \ -object rng-random,id=3Dobjrng0,filename=3D/dev/urandom \ -device virtio-rng-pci,rng=3Dobjrng0,id=3Drng0,bus=3Dpci.0,addr=3D0x6 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/ppc64-pseries-headless.ppc64-latest.arg= s b/tests/qemuxml2argvdata/ppc64-pseries-headless.ppc64-latest.args index 072f81da60..bcdbc8591b 100644 --- a/tests/qemuxml2argvdata/ppc64-pseries-headless.ppc64-latest.args +++ b/tests/qemuxml2argvdata/ppc64-pseries-headless.ppc64-latest.args @@ -45,4 +45,6 @@ id=3Dchannel0,name=3Dorg.qemu.guest_agent.0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 \ -object rng-random,id=3Dobjrng0,filename=3D/dev/urandom \ -device virtio-rng-pci,rng=3Dobjrng0,id=3Drng0,bus=3Dpci.0,addr=3D0x6 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/tpm-emulator-spapr.ppc64-latest.args b/= tests/qemuxml2argvdata/tpm-emulator-spapr.ppc64-latest.args index 00018e579f..ff264699e0 100644 --- a/tests/qemuxml2argvdata/tpm-emulator-spapr.ppc64-latest.args +++ b/tests/qemuxml2argvdata/tpm-emulator-spapr.ppc64-latest.args @@ -43,4 +43,6 @@ device_id=3Ddrive-scsi1-0-0-0,drive=3Dlibvirt-1-format,id= =3Dscsi1-0-0-0,bootindex=3D1 \ -chardev socket,id=3Dchrtpm,path=3D/dev/test \ -device tpm-spapr,tpmdev=3Dtpm-tpm0,id=3Dtpm0,reg=3D0x00005000 \ -global spapr-nvram.reg=3D0x4000 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-2.7.ppc= 64-latest.xml b/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-2.7.= ppc64-latest.xml index 246462c719..6c401a8060 100644 --- a/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-late= st.xml +++ b/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-2.7.ppc64-late= st.xml @@ -9,7 +9,7 @@ - POWER8 + POWER9 destroy diff --git a/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-3.1.ppc= 64-latest.xml b/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-3.1.= ppc64-latest.xml index 392c075073..98280d3ec9 100644 --- a/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-3.1.ppc64-late= st.xml +++ b/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-3.1.ppc64-late= st.xml @@ -9,7 +9,7 @@ - POWER8 + POWER9 destroy diff --git a/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-4.2.ppc= 64-latest.xml b/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-4.2.= ppc64-latest.xml index 2306dcd7f0..035013aa44 100644 --- a/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-4.2.ppc64-late= st.xml +++ b/tests/qemuxml2xmloutdata/ppc64-default-cpu-kvm-pseries-4.2.ppc64-late= st.xml @@ -9,7 +9,7 @@ - POWER8 + POWER9 destroy --=20 2.25.4 From nobody Fri May 3 06:08:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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=1588758269; cv=none; d=zohomail.com; s=zohoarc; b=PRF2IEAQH4HXJyQY/l5m12v62mKO+03+/jj3Z8itdbYwzoC+yGT021doLQ3dkmoKo22j7i6qSQXNTGJ7IMshwXZngH80F78XT4xmfFkBxH215JQ4kLy3j7+FH6Rxb2W5/7FFz/3EA1dm5yR3LznRVNGQzWELw/9oyhYCwi+vLWo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588758269; 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=ogvyApAgcUAytVZhLnXvP/d788mL12p9ffwuyHB5/Uc=; b=mEGI5KH1uXIXS0wISPnHa1+xalX7F/3KDO3FZecHnVSxYajFkWyYXWKR4ZJh576SuJNxQROjOnkqQTPk5xPvFXQRRnW5ym3GgPqj0dtoh+dAPTUEierKMD5/UfN8tUhBY+eJVp/40VnNYqYzAvewP+n+sRhB8zec0RS+hL5hmo0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1588758269581831.980754973582; Wed, 6 May 2020 02:44:29 -0700 (PDT) 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-180-aseEqq_FOEKPXPkGHXsCyg-1; Wed, 06 May 2020 05:44:26 -0400 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 C2166835B40; Wed, 6 May 2020 09:44:20 +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 983555C1D4; Wed, 6 May 2020 09:44:20 +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 46E474CAA8; Wed, 6 May 2020 09:44:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0469i6xk017507 for ; Wed, 6 May 2020 05:44:06 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9EB0A5C1D4; Wed, 6 May 2020 09:44:06 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.194.206]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BF7745C1BD for ; Wed, 6 May 2020 09:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588758268; 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=ogvyApAgcUAytVZhLnXvP/d788mL12p9ffwuyHB5/Uc=; b=OPi5UopeXz6Od4g5ZmPP6cROvnQe+xDDYIBzDf7ZOMEXaVTfmB2Nh7f3Z0d3BR5e1xJKE9 hTfjhQCrruOkay4CYot9iGyZG1bl91oCsQb519GlJMN/kOmpzJoeY9/jZxJka2cvirtxOE qyVfC0jLHc3JTfWSnCllh5vvVw3p6ak= X-MC-Unique: aseEqq_FOEKPXPkGHXsCyg-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 3/3] tests: Add capabilities for QEMU 5.0.0 on riscv64 Date: Wed, 6 May 2020 11:43:54 +0200 Message-Id: <20200506094354.289868-4-abologna@redhat.com> In-Reply-To: <20200506094354.289868-1-abologna@redhat.com> References: <20200506094354.289868-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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 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" The churn in the output files is caused primarily by the fact that blockdev support has been introduced. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- .../caps_5.0.0.riscv64.replies | 19902 ++++++++++++++++ .../caps_5.0.0.riscv64.xml | 201 + .../riscv64-virt-graphics.riscv64-latest.args | 8 +- .../riscv64-virt-headless.riscv64-latest.args | 8 +- 4 files changed, 20113 insertions(+), 6 deletions(-) create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.riscv64.replies create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.replies b/tests/= qemucapabilitiesdata/caps_5.0.0.riscv64.replies new file mode 100644 index 0000000000..e2307a646e --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.replies @@ -0,0 +1,19902 @@ [...] +{ + "execute": "query-version", + "id": "libvirt-2" +} + +{ + "return": { + "qemu": { + "micro": 0, + "minor": 0, + "major": 5 + }, + "package": "v5.0.0" + }, + "id": "libvirt-2" +} [...] diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml b/tests/qemu= capabilitiesdata/caps_5.0.0.riscv64.xml new file mode 100644 index 0000000000..e9651ca581 --- /dev/null +++ b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml @@ -0,0 +1,201 @@ [...] + 5000000 + 0 + 0 + v5.0.0 + riscv64 [...] diff --git a/tests/qemuxml2argvdata/riscv64-virt-graphics.riscv64-latest.ar= gs b/tests/qemuxml2argvdata/riscv64-virt-graphics.riscv64-latest.args index f8e2154f8f..6e0de34d6e 100644 --- a/tests/qemuxml2argvdata/riscv64-virt-graphics.riscv64-latest.args +++ b/tests/qemuxml2argvdata/riscv64-virt-graphics.riscv64-latest.args @@ -35,9 +35,11 @@ addr=3D0x1 \ -device pcie-root-port,port=3D0xf,chassis=3D8,id=3Dpci.8,bus=3Dpcie.0,addr= =3D0x1.0x7 \ -device qemu-xhci,p2=3D15,p3=3D15,id=3Dusb,bus=3Dpci.2,addr=3D0x0 \ -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.3,addr=3D0x0 \ --drive file=3D/var/lib/libvirt/images/guest.qcow2,format=3Dqcow2,if=3Dnone= ,\ -id=3Ddrive-virtio-disk0 \ --device virtio-blk-pci,scsi=3Doff,bus=3Dpci.4,addr=3D0x0,drive=3Ddrive-vir= tio-disk0,\ +-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/guest.qcow= 2",\ +"node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ +-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"qco= w2",\ +"file":"libvirt-1-storage"}' \ +-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.4,addr=3D0x0,drive=3Dlibvirt-1= -format,\ id=3Dvirtio-disk0,bootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:09:a4:37= ,bus=3Dpci.1,\ diff --git a/tests/qemuxml2argvdata/riscv64-virt-headless.riscv64-latest.ar= gs b/tests/qemuxml2argvdata/riscv64-virt-headless.riscv64-latest.args index 9a595dc4ee..92a3021640 100644 --- a/tests/qemuxml2argvdata/riscv64-virt-headless.riscv64-latest.args +++ b/tests/qemuxml2argvdata/riscv64-virt-headless.riscv64-latest.args @@ -35,9 +35,11 @@ addr=3D0x1 \ -device pcie-root-port,port=3D0xe,chassis=3D7,id=3Dpci.7,bus=3Dpcie.0,addr= =3D0x1.0x6 \ -device qemu-xhci,p2=3D15,p3=3D15,id=3Dusb,bus=3Dpci.2,addr=3D0x0 \ -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.3,addr=3D0x0 \ --drive file=3D/var/lib/libvirt/images/guest.qcow2,format=3Dqcow2,if=3Dnone= ,\ -id=3Ddrive-virtio-disk0 \ --device virtio-blk-pci,scsi=3Doff,bus=3Dpci.4,addr=3D0x0,drive=3Ddrive-vir= tio-disk0,\ +-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/guest.qcow= 2",\ +"node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ +-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"qco= w2",\ +"file":"libvirt-1-storage"}' \ +-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.4,addr=3D0x0,drive=3Dlibvirt-1= -format,\ id=3Dvirtio-disk0,bootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:09:a4:37= ,bus=3Dpci.1,\ --=20 2.25.4