From nobody Sun Feb 8 14:11:43 2026 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; dkim=fail; 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1564995794; cv=none; d=zoho.com; s=zohoarc; b=TTjwMSgGznL/kmZxA9NHXuKvR85bV/kRf6iW5w/w91Luq16I/QvV6/A1W2QXT87RxTDld7tSS0869GvqvMdrhmVwqPUWZWUYsqiM8ASP0G9Ut+fP6IbQv1jEP7BNRbDeqZDP55NpKVv32FBA9mxkR0AyEwF6EA4bJprgbxeQfrk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564995794; 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=452eVcKVCrfDcMzxBaJXr8aho/WnYU2OSwWdNTZLLyQ=; b=F/tozGpkct6MyEwXS9hkhXrwwgIuQE6GuwXjqiuHQ9pts1kgYDqSF4cwXCJoR1FSsa7zbKf4As4s/MlmkMZ0/9iZb35JM02kIOCJhUgUvIhWEK5FCxRVVLQu8tBxngYVNPvUjHsdXC1bYeRNCdOgnIzNt1ywtqhPmwcBqpfG7R8= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; 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 1564995794842797.2966070414087; Mon, 5 Aug 2019 02:03:14 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id BC9F830605F0; Mon, 5 Aug 2019 09:03:13 +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 8B05510016E9; Mon, 5 Aug 2019 09:03:13 +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 4C35B4EE6A; Mon, 5 Aug 2019 09:03:13 +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 x7593C0h013529 for ; Mon, 5 Aug 2019 05:03:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id 710C95D713; Mon, 5 Aug 2019 09:03:12 +0000 (UTC) Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6BD115D6C8 for ; Mon, 5 Aug 2019 09:03:09 +0000 (UTC) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 11BFE86662 for ; Mon, 5 Aug 2019 09:03:09 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id x15so73949159wmj.3 for ; Mon, 05 Aug 2019 02:03:08 -0700 (PDT) Received: from archpc.localdomain (x8d1ee222.agdsn.tu-dresden.de. [141.30.226.34]) by smtp.gmail.com with ESMTPSA id n3sm75140350wrt.31.2019.08.05.02.03.06 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 02:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=WepydRzF3cv+oKxYsA2YGy1a07HYmqpESaiF8a9c+Zc=; b=ercLpAAjoubJrt0kd4XRLYd/FqTgSZjPn7Vn78Ck0O6QymSsm4YPrHJPFeW2CUddZx NjCs2gAbiqTyqML+gqbftfKjSTVo0+iDP++aBYky4sF0ZmqFZ7C2tha+Go6Tx+M1Y04B 2q1gVY1Ay6ivEluhE9VJ2m9KOf6eXQRC91eMCVFY0iYFCKqibx6mfrMUQwyxW3bHrp/L Sa8p3Yc+hwWjQBsv1UA1405azKflsr+uNM3R+tr06+vhoKBYXk9JV14yOqrggDeqmFuW NJ7fGlHMZ34PJJtncmGcVNPC+rwqQlmXt/RY3xSpDR4Au7/zZ0sBH9t0MHFhHoTp0xLa Xuhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WepydRzF3cv+oKxYsA2YGy1a07HYmqpESaiF8a9c+Zc=; b=dyK7xp5uZM5ECnwVb5TPofBlPZqbUTRMjk083SXKU1pY5RbIg4CmK+A0+9pDEi3HXE s1CEzoY5fKwKDRREaiUEvF3xKlacflHfcfR8RG0HV5begcVJOk4+6nqrB2tTndykN6PS fK2xBHX3Ldi/8YA1XKjGm10qEMojkbmU4dm06HIAohCn9Ed4tAWrCQuTFYXTUxwLuvhN 9ROCJVSi9jNEeYyw/UBsaV7NLvfaD8t8x/QYPYWZ0UdzycWa4/z1QBFWMMFePKgGu9MN M6TfBHjJ0zpdl14ia/OQc1gvuIY8lg2FVADYtSUn0LljzXnwxFaGOkLcQw49EPgO/4oi iGjA== X-Gm-Message-State: APjAAAUHJPavTpWuDxYm5VZe3Miesg2nW7e/ktWP6mlcLpD6GoIO5zEK eXyJfAPWb49eX8k2T5hFuu7KQZD8Me1LQg== X-Google-Smtp-Source: APXvYqwZrTOR9CrRLRPipGcs0oaKit/tIWThcyZpgxnBxQKagNBiuFDam/gZVl+mAv3FjqPu0rwvag== X-Received: by 2002:a7b:c4d0:: with SMTP id g16mr18059739wmk.88.1564995787372; Mon, 05 Aug 2019 02:03:07 -0700 (PDT) From: Ilias Stamatis To: libvir-list@redhat.com Date: Mon, 5 Aug 2019 11:02:23 +0200 Message-Id: <20190805090223.6033-3-stamatis.iliass@gmail.com> In-Reply-To: <20190805090223.6033-1-stamatis.iliass@gmail.com> References: <20190805090223.6033-1-stamatis.iliass@gmail.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 05 Aug 2019 09:03:09 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 05 Aug 2019 09:03:09 +0000 (UTC) for IP:'209.85.128.67' DOMAIN:'mail-wm1-f67.google.com' HELO:'mail-wm1-f67.google.com' FROM:'stamatis.iliass@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.1 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS) 209.85.128.67 mail-wm1-f67.google.com 209.85.128.67 mail-wm1-f67.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 2/2] test_driver: implement virDomainCreateXMLWithFile 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Mon, 05 Aug 2019 09:03:14 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" This should just forward the call to testDomainCreateXML since we can't do anything with the provided file descriptors in the test driver. Signed-off-by: Ilias Stamatis --- src/test/test_driver.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index ea1febd960..b14ae51baa 100755 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -1684,6 +1684,17 @@ testDomainCreateXML(virConnectPtr conn, const char *= xml, } +static virDomainPtr +testDomainCreateXMLWithFiles(virConnectPtr conn, + const char *xml, + unsigned int nfiles ATTRIBUTE_UNUSED, + int *files ATTRIBUTE_UNUSED, + unsigned int flags) +{ + return testDomainCreateXML(conn, xml, flags); +} + + static virDomainPtr testDomainLookupByID(virConnectPtr conn, int id) { @@ -8614,6 +8625,7 @@ static virHypervisorDriver testHypervisorDriver =3D { .connectNumOfDomains =3D testConnectNumOfDomains, /* 0.1.1 */ .connectListAllDomains =3D testConnectListAllDomains, /* 0.9.13 */ .domainCreateXML =3D testDomainCreateXML, /* 0.1.4 */ + .domainCreateXMLWithFiles =3D testDomainCreateXMLWithFiles, /* 5.7.0 */ .domainLookupByID =3D testDomainLookupByID, /* 0.1.1 */ .domainLookupByUUID =3D testDomainLookupByUUID, /* 0.1.1 */ .domainLookupByName =3D testDomainLookupByName, /* 0.1.1 */ -- 2.22.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list