From nobody Sun Feb 8 17:22:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1606762591; cv=none; d=zohomail.com; s=zohoarc; b=KNGB+mRlRi0Te36tQyweRru3nGIRPL9h5FGzStnMcIp845C4i3ErcsSp/4OWe7snCNciWfdVf7uUHNjhT0iW9swwUZnJWo6xN/LQZh9Kw8p6fIGS0JLZEiGFxYCHtSraTP//Rj7WUfsIKMdDSzArb8Bpn7YzlS18iEhKQvYTGQE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1606762591; 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=R+MJ1VtYjnUtT7y/oRjtvzrOKfKG6v0QfyxY+vSGvE8=; b=aHMBL88ArM3LLCfNgwJ50FVB5HmhhJJTRSwJXnF6ot1GA2w10zJ7HVuXLygJUbvQmt4l6CyPMJkgxmxDbTFgMpj4DrPUOiflVkc46YvQnIqt3afAepV+7lUu9g2bgX09RMJ/Jq9PrL5gxWuuaYT2cjCxttN7lyIylJszCsODXaw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1606762591338717.5219804932539; Mon, 30 Nov 2020 10:56:31 -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-416-EPTejbFnOeGlvRir0Gy21A-1; Mon, 30 Nov 2020 13:56:27 -0500 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 64A5E425C8; Mon, 30 Nov 2020 18:56:21 +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 3E06D1001E73; Mon, 30 Nov 2020 18:56:21 +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 0A13250045; Mon, 30 Nov 2020 18:56:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AUIuEmr014447 for ; Mon, 30 Nov 2020 13:56:14 -0500 Received: by smtp.corp.redhat.com (Postfix) id B732460C6A; Mon, 30 Nov 2020 18:56:14 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id 171CA60C67 for ; Mon, 30 Nov 2020 18:56:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606762590; 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=R+MJ1VtYjnUtT7y/oRjtvzrOKfKG6v0QfyxY+vSGvE8=; b=ZfVh714+Wr5ahG4NhdXVLM5NoHLGPvWY3seAIFSzgTXwjlCkcO96SAKsISdzYNT7/CRcvh p1bTsVjOl42Ze3zJH8ezS1Rh5qOMCCaiSnqL1CtzmfB6Rb8d3ETKyReBb+qlXM0fc843Mm g11lCkZ83Ry8wzUZVUs/cnycPZ+yIpg= X-MC-Unique: EPTejbFnOeGlvRir0Gy21A-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 22/24] qemumonitorjsontest: Remove bomb guarding object-add Date: Mon, 30 Nov 2020 19:55:35 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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 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 5a3926bb11..47c909fd7a 100644 --- a/tests/qemumonitorjsontest.c +++ b/tests/qemumonitorjsontest.c @@ -2906,20 +2906,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.28.0