From nobody Mon Sep 16 19:42:59 2024 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=1693924183; cv=none; d=zohomail.com; s=zohoarc; b=O/PMwLb3Mrq4DwrZivC292XEY8DRZOLlzUBkH2eDGjcuPIMa+X6KQugZGNw22c7MWE9+5v0dOwhQqrLtasAtuAOM/umS+f0jtMZmWlGqdiKgsnBHLPdQwicQ7BVu/VKkPq7UlAH1D75pi+dDlOMW6A7TP7H6YJ6Sc+siSYLJUhY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693924183; 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=0XPOKqrjHGieRpDqsOKq+bqwfMMtpjNsu0NN6WiiR+Y=; b=bijnb/OfzO3EEl2pRHkK5AVKBVAHpgD5b0LwVE8umQ6tX8VK9G3TnbPiBxu7A/0uNF/Vrbb4w0HxI5ji3cnW6IFEmXvno4oiEa1EnjCC1sORjBJo8vAb8yfE1BnpdmQLVaT9qvoVnRrQ/cv23nCe/pwePq8qaL5J9r8ODdPAxrA= 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 1693924183799774.9297900388534; Tue, 5 Sep 2023 07:29:43 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-625-EogfR7NjO-muZf24zgTHsA-1; Tue, 05 Sep 2023 10:27:40 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 48B288A4383; Tue, 5 Sep 2023 14:24:42 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 32A712026D4B; Tue, 5 Sep 2023 14:24:42 +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 1EC901946597; Tue, 5 Sep 2023 14:24:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 6D4FC1946589 for ; Tue, 5 Sep 2023 14:24:39 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 4F40F1121318; Tue, 5 Sep 2023 14:24:39 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id C6BEE1121314 for ; Tue, 5 Sep 2023 14:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693924136; 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=0XPOKqrjHGieRpDqsOKq+bqwfMMtpjNsu0NN6WiiR+Y=; b=DqwaucqoGwhbx/59ZyqLlwONPMHvz09FVuGNI5fBn/zN6Pbvv2HPPsxscRufghj1O8B9ak TCd+WG2ZjxlxzElOfdqtJE2WC3tays4c///scQ3Q9OfUpCDf3aV8mFePx5tTocVIne66Ll l7py4KRdC99IxsuycsZolJsBjW6rHik= X-MC-Unique: EogfR7NjO-muZf24zgTHsA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 16/51] qemuxml2argvtest: Use proper version in negative 'virtio-options-memballoon-freepage-reporting' case Date: Tue, 5 Sep 2023 16:23:43 +0200 Message-ID: <9e69551404a547ef8664faf9a6a6424590a9b463.1693923601.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 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 3.1 on 10.11.54.4 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: 1693924184142100001 Content-Type: text/plain; charset="utf-8" The feature is supported since qemu-5.1. Use real qemu-5.0 caps for the test. Signed-off-by: Peter Krempa --- ...rtio-options-memballoon-freepage-reporting.x86_64-5.0.0.err} | 0 tests/qemuxml2argvtest.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/qemuxml2argvdata/{virtio-options-memballoon-freepage-reportin= g.err =3D> virtio-options-memballoon-freepage-reporting.x86_64-5.0.0.err} (= 100%) diff --git a/tests/qemuxml2argvdata/virtio-options-memballoon-freepage-repo= rting.err b/tests/qemuxml2argvdata/virtio-options-memballoon-freepage-repor= ting.x86_64-5.0.0.err similarity index 100% rename from tests/qemuxml2argvdata/virtio-options-memballoon-freepage-repor= ting.err rename to tests/qemuxml2argvdata/virtio-options-memballoon-freepage-reporti= ng.x86_64-5.0.0.err diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 07cc2f9bef..840daab25a 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2421,10 +2421,10 @@ mymain(void) DO_TEST_CAPS_LATEST("virtio-options-input-packed"); DO_TEST_CAPS_LATEST("virtio-options-memballoon-packed"); DO_TEST_CAPS_LATEST("virtio-options-memballoon-freepage-reporting"); + DO_TEST_CAPS_VER_PARSE_ERROR("virtio-options-memballoon-freepage-repor= ting", "5.0.0"); DO_TEST_CAPS_LATEST("virtio-options-net-packed"); DO_TEST_CAPS_LATEST("virtio-options-rng-packed"); DO_TEST_CAPS_LATEST("virtio-options-video-packed"); - DO_TEST_PARSE_ERROR_NOCAPS("virtio-options-memballoon-freepage-reporti= ng"); DO_TEST_CAPS_LATEST("fd-memory-numa-topology"); DO_TEST_CAPS_LATEST("fd-memory-numa-topology2"); --=20 2.41.0