From nobody Sun Feb 8 13:17:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1657720286; cv=none; d=zohomail.com; s=zohoarc; b=OY09sH1Hb7p4npPk9XUdkHbWXj0Nh1k8oKA7HH0oe1ZOO5qohm6jLYSnfNqADYEE3bHxLxGZ8okgigAzoBPTYQLGUvXS53QWJoN2ajSq9ruKBoSd8NFGH16QCd+SVJGsvoK/PhisMyo2Y6Lsxf5KryeVqSibbItbZxAiMpfos5o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657720286; 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=fH9rk4ikVUbU67q4hIXbRl0jWQgxDt8YsN7AasHmfmc=; b=D5HMu3JgdRfvvuUTEsNZtQvrNQ4e0ByR9IS6wFjyLim++9jmDDhZvRq2+qS5vxPa8c58dfi6asf/idTchjArWdPwnCD7j2YM8K1yzAnrkMrITQOdCmO7gVQd5Iu+u6U8cjzu/RU1Wfx/5F8ZByeMY/ayZfIOAwJm+34XSyB7DIw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 165772028663119.527754785154457; Wed, 13 Jul 2022 06:51:26 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-169-1jFsvn9nNM2o5zAK9SQK-w-1; Wed, 13 Jul 2022 09:51:19 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 03A563802BB9; Wed, 13 Jul 2022 13:51:15 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E021840E8B04; Wed, 13 Jul 2022 13:51:14 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BACD41947B8B; Wed, 13 Jul 2022 13:51:13 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9D204194705F for ; Wed, 13 Jul 2022 13:51:12 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 80E45492C3B; Wed, 13 Jul 2022 13:51:12 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2BAFD492CA2 for ; Wed, 13 Jul 2022 13:51:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657720284; 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=fH9rk4ikVUbU67q4hIXbRl0jWQgxDt8YsN7AasHmfmc=; b=UGAV5G05z7+280NPWvYb17RV5aPGkIWKTnt8SIAnYwNlVJa20XJURFHppPZmjX8dMZqpGp 0Y7juOwUF7Qnm7McGASxlWGPLWN5DuLG5Zlq9uBRzv7iaFAnEEpDooL2EcC146JDhBtLCT ukUOMI+pRKqqy3cVKqk+CjLeCAdqRjQ= X-MC-Unique: 1jFsvn9nNM2o5zAK9SQK-w-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH v2 2/6] tests: Fix qemu replies wrt usb-host properties Date: Wed, 13 Jul 2022 15:51:04 +0200 Message-Id: <08b5d4f9be8447ea38197e850fb6833b3b17df6d.1657720089.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 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) X-ZM-MESSAGEID: 1657720288790100007 Content-Type: text/plain; charset="utf-8"; x-default="true" My commit of v6.9.0-rc1~457 was a bit too harsh. While it served its purpose (adding usb-host.hostdevice capability) it has a side effect: because I copied reply from qemu-5.1.0 to older .replies files one might now think that say qemu-3.1.0 supports both .guest-reset and .guest-resets-all properties. But in fact it doesn't. There are three problematic properties: 1) guest-reset, introduced in v4.0.0-rc0~56^2 2) guest-resets-all introduced in v4.2.0-rc1~9^2 3) suppress-remote-wake introduced in v5.0.0-rc0~148^2~4 Remove these properties from versions that could not have had them. Signed-off-by: Michal Privoznik Reviewed-by: J=C3=A1n Tomko --- .../qemucapabilitiesdata/caps_3.1.0.ppc64.replies | 15 --------------- .../caps_3.1.0.x86_64.replies | 15 --------------- .../caps_4.0.0.aarch64.replies | 10 ---------- .../qemucapabilitiesdata/caps_4.0.0.ppc64.replies | 10 ---------- .../caps_4.0.0.riscv32.replies | 10 ---------- .../caps_4.0.0.riscv64.replies | 10 ---------- .../qemucapabilitiesdata/caps_4.0.0.s390x.replies | 10 ---------- .../caps_4.0.0.x86_64.replies | 10 ---------- .../caps_4.1.0.x86_64.replies | 10 ---------- .../caps_4.2.0.aarch64.replies | 5 ----- .../qemucapabilitiesdata/caps_4.2.0.ppc64.replies | 5 ----- .../qemucapabilitiesdata/caps_4.2.0.s390x.replies | 5 ----- .../caps_4.2.0.x86_64.replies | 5 ----- 13 files changed, 120 deletions(-) diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_3.1.0.ppc64.replies index 5663253798..95dd682e95 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies @@ -17325,11 +17325,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -17340,16 +17335,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, - { - "default-value": true, - "name": "guest-reset", - "type": "bool" - }, { "name": "bootindex", "type": "int32" diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_3.1.0.x86_64.replies index 144448783a..6bb6a399f6 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies @@ -17167,11 +17167,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -17182,16 +17177,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, - { - "default-value": true, - "name": "guest-reset", - "type": "bool" - }, { "name": "bootindex", "type": "int32" diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_4.0.0.aarch64.replies index aa45d033b6..3107b86a0d 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.replies @@ -17969,11 +17969,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -17984,11 +17979,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, { "default-value": true, "name": "guest-reset", diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_4.0.0.ppc64.replies index acba6b8363..e5c08f757f 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.replies @@ -17995,11 +17995,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -18010,11 +18005,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, { "default-value": true, "name": "guest-reset", diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies b/tests/= qemucapabilitiesdata/caps_4.0.0.riscv32.replies index 2f2db7a105..98b2a87645 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.replies @@ -16335,11 +16335,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -16350,11 +16345,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, { "default-value": true, "name": "guest-reset", diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies b/tests/= qemucapabilitiesdata/caps_4.0.0.riscv64.replies index fca6bd93c0..f938d5b2e3 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.replies @@ -16335,11 +16335,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -16350,11 +16345,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, { "default-value": true, "name": "guest-reset", diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_4.0.0.s390x.replies index 2e69a447b3..7909309522 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.s390x.replies @@ -16279,11 +16279,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -16294,11 +16289,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, { "default-value": true, "name": "guest-reset", diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_4.0.0.x86_64.replies index 5de9457eed..e355c6ef1c 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies @@ -17672,11 +17672,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -17687,11 +17682,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, { "default-value": true, "name": "guest-reset", diff --git a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_4.1.0.x86_64.replies index 0dadabf948..480f22fd99 100644 --- a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.replies @@ -18085,11 +18085,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", @@ -18100,11 +18095,6 @@ "name": "isobsize", "type": "uint32" }, - { - "default-value": false, - "name": "guest-resets-all", - "type": "bool" - }, { "default-value": true, "name": "guest-reset", diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_4.2.0.aarch64.replies index 5321348322..06e00fe169 100644 --- a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.replies @@ -18825,11 +18825,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_4.2.0.ppc64.replies index 4ed901c3de..a0d3f217c8 100644 --- a/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.replies @@ -18288,11 +18288,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_4.2.0.s390x.replies index 334a10b3c5..e0994fec0f 100644 --- a/tests/qemucapabilitiesdata/caps_4.2.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_4.2.0.s390x.replies @@ -16995,11 +16995,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_4.2.0.x86_64.replies index cd7a5c345c..a201fc2882 100644 --- a/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.replies @@ -18659,11 +18659,6 @@ "name": "hostaddr", "type": "uint32" }, - { - "default-value": true, - "name": "suppress-remote-wake", - "type": "bool" - }, { "default-value": 2, "name": "loglevel", --=20 2.35.1