From nobody Sun Feb 8 20:53:40 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=1609941871; cv=none; d=zohomail.com; s=zohoarc; b=HJC7eis+gKLYXNVCQqEVYAvXJiRAKCxW9KOk7JHzJEfm/N5RKurvuig5G1SXxpmLFd/iBkSJfyRECs72mNtDDLE30UGhFafjzRLoiJH+6P44qospnDUYxFMuYYS25Y3KKXfCjJxhkEZEY+uKUj5bevLZ3GM5vXar4lkwAAHnpSI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609941871; 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=MTOlyA/c9yGIPBwJ9hDSN7UfWCGKhnH1BUv0BCX94sE=; b=PloXZUANAVDTW04Y1H4swzu75lVFhRPh1b1ggilC0q+lEIYAtovnaup7YBviOK8Z/6Yf5zkAwGTW6Fd3GQ5ngVISC56YSQ6p2IR3iWZbUB9oQI3OhFa6woJYzTtEd88IfUmK7rBXovrHQotSMIrMJJYGNUxaLsjcKC2f7mLVh5U= 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 1609941871922882.2888221502794; Wed, 6 Jan 2021 06:04: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-206-_1dYO0ohOGmh_FioKqSYpw-1; Wed, 06 Jan 2021 09:04:27 -0500 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 1E025107ACFC; Wed, 6 Jan 2021 14:04: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 EF92C60BE5; Wed, 6 Jan 2021 14:04:20 +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 BD59950037; Wed, 6 Jan 2021 14:04:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 106E4CUt031502 for ; Wed, 6 Jan 2021 09:04:12 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6600162464; Wed, 6 Jan 2021 14:04:12 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id B80505B699 for ; Wed, 6 Jan 2021 14:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609941870; 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=MTOlyA/c9yGIPBwJ9hDSN7UfWCGKhnH1BUv0BCX94sE=; b=gvCo+JC5/jmweEe9PVIUHNxE+uF4R4eMCd0zw2tSkpIVG1/gnpvXhw/w3Tn9Hrl3Y3huqT GfKRBSsW7TXebDsLHFPTJxuMD26TrqgA4UajJfKtKcRBHu5KXzms3sXyyK0W5mjaI3jPcJ DjDvrYjRhj++gilkzylvETG8kHHDARg= X-MC-Unique: _1dYO0ohOGmh_FioKqSYpw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 12/12] testCompareXMLToArgvValidateSchema: Populate autoNodeset Date: Wed, 6 Jan 2021 15:03:43 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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) Content-Type: text/plain; charset="utf-8" We create a new 'vm' so we must also fake the nodeset. Signed-off-by: Peter Krempa --- tests/qemuxml2argvtest.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 662d0d5df6..8b2df07448 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -519,6 +519,7 @@ testCompareXMLToArgvValidateSchema(virQEMUDriverPtr drv, { g_auto(GStrv) args =3D NULL; g_autoptr(virDomainObj) vm =3D NULL; + qemuDomainObjPrivatePtr priv =3D NULL; size_t nargs =3D 0; size_t i; g_autoptr(GHashTable) schema =3D NULL; @@ -546,6 +547,11 @@ testCompareXMLToArgvValidateSchema(virQEMUDriverPtr dr= v, NULL, parseFlags))) return -1; + priv =3D vm->privateData; + + if (virBitmapParse("0-3", &priv->autoNodeset, 4) < 0) + return -1; + if (!(cmd =3D testCompareXMLToArgvCreateArgs(drv, vm, migrateURI, info= , flags, true))) return -1; --=20 2.29.2