From nobody Tue May 7 11:21:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=virtuozzo.com ARC-Seal: i=1; a=rsa-sha256; t=1568791544; cv=none; d=zoho.com; s=zohoarc; b=fMo1Ns7YYN3VZge0h9u2mtbOLjMs4XhqbewSJfcRh5fRXiWnhX+iEHwY+26hQpqOCsQ79anTdxnbtiiCzFJET5XfJh7FFHUpCRH5kknHa2nda7h9RzxyrxeJlUMaI6/EcTaQAvpw67ddhMP/BZep2m9qMBV1xf+mtU82F16AUlc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568791544; 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:ARC-Authentication-Results; bh=lbG08iJWqQ7FIGiZ76tV/y4eGKg0uFX8WB0UlHPEJHA=; b=DqWGP/rxl7xREv8OeagElZfvmM8XOadbdi7+01fdb1Op9AN5SZB3CPwTpwFFfxDzcGJcSZY3Lp15qmbUtn83q1YvnGjWRG82UwYALweUG+zcQx2QPcEqAGxLxwku3sFL+w129pWWmAMv5/Az50sQ0/f2fg4pd9UREvQs7QRfCJA= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1568791543851868.0856310195433; Wed, 18 Sep 2019 00:25:43 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9389181F07; Wed, 18 Sep 2019 07:25:40 +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 A2AD25C1B2; Wed, 18 Sep 2019 07:25:38 +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 45FC31803517; Wed, 18 Sep 2019 07:25:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x8I7PX0S004811 for ; Wed, 18 Sep 2019 03:25:33 -0400 Received: by smtp.corp.redhat.com (Postfix) id EBBA55C221; Wed, 18 Sep 2019 07:25:33 +0000 (UTC) Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E59725C1B2 for ; Wed, 18 Sep 2019 07:25:31 +0000 (UTC) Received: from relay.sw.ru (relay.sw.ru [185.231.240.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8B174C04B940 for ; Wed, 18 Sep 2019 07:25:29 +0000 (UTC) Received: from [10.94.8.40] (helo=dim-vz7.qa.sw.ru) by relay.sw.ru with esmtp (Exim 4.92.2) (envelope-from ) id 1iAUL9-0006Xj-OX for libvir-list@redhat.com; Wed, 18 Sep 2019 10:25:27 +0300 From: Nikolay Shirokovskiy To: libvir-list@redhat.com Date: Wed, 18 Sep 2019 10:25:03 +0300 Message-Id: <1568791504-555866-2-git-send-email-nshirokovskiy@virtuozzo.com> In-Reply-To: <1568791504-555866-1-git-send-email-nshirokovskiy@virtuozzo.com> References: <1568791504-555866-1-git-send-email-nshirokovskiy@virtuozzo.com> X-Greylist: Sender passed SPF test, ACL 264 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 18 Sep 2019 07:25:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 18 Sep 2019 07:25:30 +0000 (UTC) for IP:'185.231.240.75' DOMAIN:'relay.sw.ru' HELO:'relay.sw.ru' FROM:'nshirokovskiy@virtuozzo.com' RCPT:'' X-RedHat-Spam-Score: 0 (SPF_HELO_NONE, SPF_PASS) 185.231.240.75 relay.sw.ru 185.231.240.75 relay.sw.ru X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/2] vz: build fix for passing qemuCaps to virDomainDeviceDefPostParse 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 18 Sep 2019 07:25:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Missing piece for [1]. [1] b449c2704: qemu: Pass correct qemuCaps to virDomainDeviceDefPostParse Signed-off-by: Nikolay Shirokovskiy --- src/vz/vz_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c index a4f6c39..536a992 100644 --- a/src/vz/vz_driver.c +++ b/src/vz/vz_driver.c @@ -1509,7 +1509,7 @@ static int vzDomainAttachDeviceFlags(virDomainPtr dom= ain, const char *xml, goto cleanup; =20 dev =3D virDomainDeviceDefParse(xml, dom->def, driver->caps, - driver->xmlopt, VIR_DOMAIN_XML_INACTIVE); + driver->xmlopt, NULL, VIR_DOMAIN_XML_INA= CTIVE); if (dev =3D=3D NULL) goto cleanup; =20 @@ -1565,7 +1565,7 @@ static int vzDomainDetachDeviceFlags(virDomainPtr dom= ain, const char *xml, goto cleanup; =20 dev =3D virDomainDeviceDefParse(xml, dom->def, driver->caps, - driver->xmlopt, + driver->xmlopt, NULL, VIR_DOMAIN_XML_INACTIVE | VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE); if (dev =3D=3D NULL) @@ -1657,7 +1657,7 @@ static int vzDomainUpdateDeviceFlags(virDomainPtr dom= ain, goto cleanup; =20 if (!(dev =3D virDomainDeviceDefParse(xml, dom->def, driver->caps, - driver->xmlopt, + driver->xmlopt, NULL, VIR_DOMAIN_XML_INACTIVE))) goto cleanup; =20 --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 11:21:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=virtuozzo.com ARC-Seal: i=1; a=rsa-sha256; t=1568791565; cv=none; d=zoho.com; s=zohoarc; b=Qwfd7wGcxI3njw4sdUD7keyeLDGQ1JrDAd55wgG5bZQcIK1cq11vYf0dbtyz681OvCXxTOcZaZC3wBHOTVpJhWQE6ED7Mt68ROVhavysUMOwL6zCb1k85Mwr12ecO/spNFzqdEiLBSmRcSVH+8ifelc8TqpqOdnnoqEawSYA4W8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568791565; 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:ARC-Authentication-Results; bh=cRM3t0TOU+9dB358/9QmDPx9TCljFEYOShROV8/1JGI=; b=WSOusQa5stU9wu8QzveJaTQmJ/wMIeU78/iH++K+gM09tETOts3bsQdyEAZBjMqpbm0XRcNaSTKkOv3K1rEgIxtbuH4QHsHM6dguwP5dnuCFoPWpGUJZ72XLmhAQfJ58qgvigUTbj3IqqZsMvBpkX28LPp1I1gScJEa2gXEWPRs= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1568791565543792.7817153524664; Wed, 18 Sep 2019 00:26:05 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 87905368DA; Wed, 18 Sep 2019 07:26:03 +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 47A2260923; Wed, 18 Sep 2019 07:26:03 +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 922304EDA6; Wed, 18 Sep 2019 07:26:02 +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 x8I7PYgE004821 for ; Wed, 18 Sep 2019 03:25:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 68FFF60C5E; Wed, 18 Sep 2019 07:25:34 +0000 (UTC) Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.40]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5F0846CE51 for ; Wed, 18 Sep 2019 07:25:31 +0000 (UTC) Received: from relay.sw.ru (relay.sw.ru [185.231.240.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 077CD300D209 for ; Wed, 18 Sep 2019 07:25:30 +0000 (UTC) Received: from [10.94.8.40] (helo=dim-vz7.qa.sw.ru) by relay.sw.ru with esmtp (Exim 4.92.2) (envelope-from ) id 1iAUL9-0006Xj-Uy for libvir-list@redhat.com; Wed, 18 Sep 2019 10:25:28 +0300 From: Nikolay Shirokovskiy To: libvir-list@redhat.com Date: Wed, 18 Sep 2019 10:25:04 +0300 Message-Id: <1568791504-555866-3-git-send-email-nshirokovskiy@virtuozzo.com> In-Reply-To: <1568791504-555866-1-git-send-email-nshirokovskiy@virtuozzo.com> References: <1568791504-555866-1-git-send-email-nshirokovskiy@virtuozzo.com> X-Greylist: Sender passed SPF test, ACL 264 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 18 Sep 2019 07:25:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 18 Sep 2019 07:25:30 +0000 (UTC) for IP:'185.231.240.75' DOMAIN:'relay.sw.ru' HELO:'relay.sw.ru' FROM:'nshirokovskiy@virtuozzo.com' RCPT:'' X-RedHat-Spam-Score: 0 (SPF_HELO_NONE, SPF_PASS) 185.231.240.75 relay.sw.ru 185.231.240.75 relay.sw.ru X-Scanned-By: MIMEDefang 2.84 on 10.5.110.40 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 2/2] vz: build fix for passing qemuCaps to virDomainDefParseNode 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 18 Sep 2019 07:26:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Missing piece for [1] [1]: 577a1f98: qemu: Pass correct qemuCaps to virDomainDefParseNode Signed-off-by: Nikolay Shirokovskiy --- src/vz/vz_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c index 536a992..eb3fcf1 100644 --- a/src/vz/vz_driver.c +++ b/src/vz/vz_driver.c @@ -2609,7 +2609,7 @@ vzDomainSnapshotCreateXML(virDomainPtr domain, parse_flags |=3D VIR_DOMAIN_SNAPSHOT_PARSE_VALIDATE; =20 if (!(def =3D virDomainSnapshotDefParseString(xmlDesc, driver->caps, - driver->xmlopt, NULL, + driver->xmlopt, NULL, NULL, parse_flags))) goto cleanup; =20 --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list