From nobody Sun Feb 8 14:22:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1629217569; cv=none; d=zohomail.com; s=zohoarc; b=CNx8jOT5CYoYmbxcn/RyE5Dpjwov6TwSK4BZMMw9/5iJKVQ4lIncAQV9rUCB5vQ+7iwsbtJqh8y4yyXOIOd6zKjv9YnezbQROppvPYjaZrzhjJ1y6k7+71/Iu1HqEaH3pdob9zp5EVj6ml/ybmcYFSB5wEuwl8YnUpKGJ4CDAdc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629217569; 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=5DvdEJD5Nzza5K232ekOiH6o5spC7e8EKM31V2Idw+I=; b=minXjQSaPKEEycQq9hzIDT9BnsDbTfOsgO7zltoeDtE9fySlp+1iWu572d+zndZJUteyKK5fykh+5ZBxPVYiXMKYNt1HD4HKyoEH/zzdkzx2W+EonZrsHH5Ri9NQVUmh+cRh4D3Ni8LBg/vYSfwyn2uvlnL/no/eR5gTxi01zR8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1629217569426640.9327374815053; Tue, 17 Aug 2021 09:26:09 -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-337-xDrX04y5M9u6itPKvx5d9w-1; Tue, 17 Aug 2021 12:26:05 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 21CCE802922; Tue, 17 Aug 2021 16:26:00 +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 0170C51C48; Tue, 17 Aug 2021 16:26:00 +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 C30714A707; Tue, 17 Aug 2021 16:25:59 +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 17HGPbxW020230 for ; Tue, 17 Aug 2021 12:25:37 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8994C421F; Tue, 17 Aug 2021 16:25:37 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id D952F620DE for ; Tue, 17 Aug 2021 16:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629217568; 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=5DvdEJD5Nzza5K232ekOiH6o5spC7e8EKM31V2Idw+I=; b=N+/n4oSeRPc1fm/XiaBVQ/nfQk2GIMnC+ySNPA7OuWs4O9edkGwDA3sUgW7VKM1bwR6Wnc tvEnw2/vBekuO72x8rPTJhwznnr3rkvHOLmoxpwIasNXYkt25HTf0I4weyOIj14godJurL 6LqHsGsl6fjbXSLC+BWTqTg9nSkLlo8= X-MC-Unique: xDrX04y5M9u6itPKvx5d9w-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH v2 06/23] qemustatusxml2xmltest: Remove hack for qemuCaps allocation Date: Tue, 17 Aug 2021 18:25:07 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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.12 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: 1629217571328100001 Content-Type: text/plain; charset="utf-8" Since qemuCaps are now always allocated we don't need the hack. Signed-off-by: Peter Krempa --- tests/qemustatusxml2xmltest.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/qemustatusxml2xmltest.c b/tests/qemustatusxml2xmltest.c index 63fbaa0ddb..ac007405a6 100644 --- a/tests/qemustatusxml2xmltest.c +++ b/tests/qemustatusxml2xmltest.c @@ -110,9 +110,7 @@ mymain(void) static struct testQemuInfo info =3D { \ .name =3D _name, \ }; \ - if (testQemuInfoSetArgs(&info, capscache, capslatest, \ - ARG_QEMU_CAPS, QEMU_CAPS_LAST, \ - ARG_END) < 0 || \ + if (testQemuInfoSetArgs(&info, capscache, capslatest, ARG_END) < 0= || \ qemuTestCapsCacheInsert(driver.qemuCapsCache, info.qemuCaps) <= 0) { \ VIR_TEST_DEBUG("Failed to generate status test data for '%s'",= _name); \ return -1; \ --=20 2.31.1