From nobody Mon Feb 9 13:36:58 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=1565801327; cv=none; d=zoho.com; s=zohoarc; b=ZIDxmfciJdh2vngNtKBfAqYas0Jnn6/KQGYG/4rD0fHLJCOw7Phnpwxo/LhKPtbrM2LSKBX6rzxoDcsegtA0RXJgwGGFPnL19RdVZyzZILKx3ZqkigfXc8AOLBOr8gfOSSO2s5YdO06VfVbBijgYxVH2p0MHZOQ1s+2jL2P7lrQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565801327; 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=/NrzAmDPsKHlpKXXWEWYWF9vuIWmYy2bnMyv5fQr8tg=; b=VABHVJrNUS3BWcY2FP5x/WD6UOXX55MCUsmKMG7osP6+kpuKy6vglbd+wbCUjeB2zpYEEelg9fwTTQoeHRCAGJde2qbY0wDiXAFv+NSGd9+HMgvZiPX+EKJ2Pm+YSQZtDML7SWBdGOL0BgUt834VTV/Cv0cvKhhrC98tnKAyG1Y= 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 1565801327610929.3960576747542; Wed, 14 Aug 2019 09:48:47 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0C3BC309B693; Wed, 14 Aug 2019 16:48:46 +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 DB9F183090; Wed, 14 Aug 2019 16:48:45 +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 A4D6C24F32; Wed, 14 Aug 2019 16:48:45 +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 x7EGmiWI028119 for ; Wed, 14 Aug 2019 12:48:44 -0400 Received: by smtp.corp.redhat.com (Postfix) id 94966104C45F; Wed, 14 Aug 2019 16:48:44 +0000 (UTC) Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 854D6104B4FA for ; Wed, 14 Aug 2019 16:48:44 +0000 (UTC) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) (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 DB4685213C for ; Wed, 14 Aug 2019 16:48:43 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id j16so9485846wrr.8 for ; Wed, 14 Aug 2019 09:48:43 -0700 (PDT) Received: from archlap.localdomain ([185.32.231.210]) by smtp.gmail.com with ESMTPSA id d20sm129372wmb.24.2019.08.14.09.48.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2019 09:48:41 -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=s1sJ99xYmxbxg1JbqjnwGa1tvuvlqpK+p4XCQaIJrBI=; b=htTN2a+G1JwPvC8UdgylnWidS6gBjGulLPxaqtmAn0sysrbs0ES1iSP4t2/ReGQrLA +BiEnxr4MbbLIGyv107vsTtTER6FfF9jMSbPqLhjbSvA6IhSMjWgDxCSU73lfK1hChZl 8y1k3dcvr23Nz6r4qUzQA9z220A1hUT56dCHHsJLUcqnWxBtDJ5KQJJGfkzKPCKJPaAa Y6G3sZqfyM43Aaf7NNOy4TRkSkRmDZStsa4V7S6arRnmLRD7Kzm497u+a3T6brSZrne4 SYeNTwwXqUxKiEFtCu1DhflO8b2Cc+fifztE+HTi1P7jAHBSppqnb/Zyr6ihkBt+V7mw 4hbA== 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=s1sJ99xYmxbxg1JbqjnwGa1tvuvlqpK+p4XCQaIJrBI=; b=pSVPsEzs/9lXszFTNqDSj9TINYcLsLqoZLvPGd3Os2h+GeiTwNLUfc5cgEDJV9xO0A eDyiriIkVe1vLVkgXxy5lmxmIRzoU8LdQC6uQGmm7y7vg2kK2Grkb2Ir+TiZSrtW2HWa h8hIRY6TcrM/RbcaZOrpKIzfKf1sw8k3YHNEGh84B7bxxEcyZqC7sYaCYIEWQ4Lw/Nn0 EtQO1fuv3ey9psOEAzgmvoc7uDgB/yWTb8OnI07B2yNiEa6mI4Ue79bAcvW6GrVfNBSl YZ3kkHwYJLvAjGtOgZqbfuJzPbqC8pWZmarfxiIkdLKcxiyQsVYh9pX8W7nPJI/kDVxI eYOQ== X-Gm-Message-State: APjAAAW+wrQH8XVfwb3ahI5YD6fUwu77J+OHQo3j+i2CzJZefk4x42cR i1Ht6kTkzOeaK/vXplRd6LNp0TSWLmY= X-Google-Smtp-Source: APXvYqxdc2CTvJh7jgBSJe8YCUPin/srR7ArRkJ6W4jUocOQYB9vO9KEBIhdwbNM65iMUUj11Q5FKA== X-Received: by 2002:adf:ce04:: with SMTP id p4mr678471wrn.227.1565801322078; Wed, 14 Aug 2019 09:48:42 -0700 (PDT) From: Ilias Stamatis To: libvir-list@redhat.com Date: Wed, 14 Aug 2019 19:47:06 +0300 Message-Id: <20190814164709.5418-3-stamatis.iliass@gmail.com> In-Reply-To: <20190814164709.5418-1-stamatis.iliass@gmail.com> References: <20190814164709.5418-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.25]); Wed, 14 Aug 2019 16:48:44 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 14 Aug 2019 16:48:44 +0000 (UTC) for IP:'209.85.221.66' DOMAIN:'mail-wr1-f66.google.com' HELO:'mail-wr1-f66.google.com' FROM:'stamatis.iliass@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.505 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS) 209.85.221.66 mail-wr1-f66.google.com 209.85.221.66 mail-wr1-f66.google.com X-Scanned-By: MIMEDefang 2.83 on 10.5.110.25 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v2 2/6] test_driver: implement virDomainAttachDevice 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.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Wed, 14 Aug 2019 16:48:46 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: Ilias Stamatis Reviewed-by: Erik Skultety --- src/test/test_driver.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 5f28e9017f..abf80b97cf 100755 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -4935,6 +4935,14 @@ testDomainAttachDeviceFlags(virDomainPtr dom, } +static int +testDomainAttachDevice(virDomainPtr dom, + const char *xml) +{ + return testDomainAttachDeviceFlags(dom, xml, VIR_DOMAIN_AFFECT_LIVE); +} + + static int testDomainGetAutostart(virDomainPtr domain, int *autostart) { @@ -9739,6 +9747,7 @@ static virHypervisorDriver testHypervisorDriver =3D { .domainFSFreeze =3D testDomainFSFreeze, /* 5.7.0 */ .domainFSThaw =3D testDomainFSThaw, /* 5.7.0 */ .domainFSTrim =3D testDomainFSTrim, /* 5.7.0 */ + .domainAttachDevice =3D testDomainAttachDevice, /* 5.7.0 */ .domainAttachDeviceFlags =3D testDomainAttachDeviceFlags, /* 5.7.0 */ .domainGetAutostart =3D testDomainGetAutostart, /* 0.3.2 */ .domainSetAutostart =3D testDomainSetAutostart, /* 0.3.2 */ -- 2.22.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list