From nobody Mon Feb 9 00:02:46 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=1615569727; cv=none; d=zohomail.com; s=zohoarc; b=TcYg1aol+6YYF20uCyZC1bm1pugnyZ58XIA8wE7SSsbGQm9FcxQ7DVq/oHfuD47GltpFbQ15Bh3NRYe0vcAByY2ZKflQaKXTF2agNuXxoLMyXEi7pEz8CmszXCM0e11gOYwL73BGR8fikltRYX/hz/hN5KUCGttDdu5Td3kZiv8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615569727; 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=O/XAuuwkvYirwQ4gEaYbDYZ5ZtoEMwyQrQmmKRTHomo=; b=IW3JpZJuiy5/B6DufHh/fc2skZiHVdQSINncYsw9SEsws0dtY/0aKig9zWeB+0VYic7Mop1SQt2gepOdPJXfZOpxujvUj0fq5bpWrdqFusyoZleFBzbmUppNygcZoK1r9Qn+/VEhGNaQI/EAC3LDqc5nJX4WWJxR3/E1QhzUEXc= 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) header.from= 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 16155697275421003.2497793281809; Fri, 12 Mar 2021 09:22:07 -0800 (PST) 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-139-e7sbiT3lMCCDCyC0-H3yEA-1; Fri, 12 Mar 2021 12:21:32 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D19E1801817; Fri, 12 Mar 2021 17:21:24 +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 AEF90694CD; Fri, 12 Mar 2021 17:21:24 +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 70C781800FF2; Fri, 12 Mar 2021 17:21:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 12CHLBJZ030212 for ; Fri, 12 Mar 2021 12:21:11 -0500 Received: by smtp.corp.redhat.com (Postfix) id 28E5A1002388; Fri, 12 Mar 2021 17:21:11 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8D0AE1001281 for ; Fri, 12 Mar 2021 17:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615569726; 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=O/XAuuwkvYirwQ4gEaYbDYZ5ZtoEMwyQrQmmKRTHomo=; b=JLJL5MO+4/hzcGd2FWf2Oy4+umRy4QIZyGtXOkrVkw2IDvUJ0DE+W761d5HFax3yWEP8re oeruPtRRPC8q9UMOVjjhj2vVfg1oS9CQf1Tb9r8HQ4GzwpsmtKPV4fr/rcx1E8M0l8hI20 EUyZzBJxH/NHU8nh8IR1uccdDnc19+g= X-MC-Unique: e7sbiT3lMCCDCyC0-H3yEA-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH v3 09/13] qemumonitorjsontest: Remove tripwire guarding object-add QAPIfication Date: Fri, 12 Mar 2021 18:20:52 +0100 Message-Id: <85e1abdae57985b6ce8a33a797fa7ce6f0c6aaac.1615569382.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.13 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) Content-Type: text/plain; charset="utf-8" Libvirt is now prepared for QAPIfied object-add. Signed-off-by: Peter Krempa --- tests/qemumonitorjsontest.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c index 82c74e2ef9..48b41c908a 100644 --- a/tests/qemumonitorjsontest.c +++ b/tests/qemumonitorjsontest.c @@ -2740,20 +2740,6 @@ testQAPISchemaObjectDeviceAdd(const void *opaque) return -1; } - if (virQEMUQAPISchemaPathGet("object-add/arg-type", schema, &entry) < = 0) { - fprintf(stderr, "schema for 'objectadd' not found\n"); - return -1; - } - - if (testQEMUSchemaEntryMatchTemplate(entry, - "str:qom-type", - "str:id", - "any:props", - NULL) < 0) { - VIR_TEST_VERBOSE("object-add has unexpected members in schema"); - return -1; - } - return 0; } --=20 2.29.2