From nobody Mon Feb 9 13:58:47 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=1564664217; cv=none; d=zoho.com; s=zohoarc; b=XjM5ZN1y+UV4IJT1y/aEdeLXnFRE0zrG6j2Urx8YzFI8DDuSPSFlJn5egdPb/u9uNgyRELPlUYJRm2KSPhJcN3n/a0y7a+og9BxFDbGkOyX9ZWzChSziU4FesdxBjAs2EcSAZRXr+/xVpezAoe/wJ05uBihTZmLPxPNM4I6SEp4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564664217; 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=sWqyH/tRWXFlt9sOZDxVeN1abcb2ikX+HMNrnHu3rhs=; b=hddteBOW+eYfhC4kngsNKMioZmAThuoxP3suiTXhIOV9iaTn8fKpMKqy75FXjijWNlweWqn2LRxOo7f04XP6HWEJOK3JPIP+fUv5CgFvqfv5zJxaO89sl3qgdDEUIP9VvlmBRoD4d19sx8s9JK75In9C2oo92cIUgbRXJtl+WR4= 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 1564664217110595.878881122653; Thu, 1 Aug 2019 05:56:57 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A69E0307D989; Thu, 1 Aug 2019 12:56:55 +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 728CE19C70; Thu, 1 Aug 2019 12:56:55 +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 2D76D264C9; Thu, 1 Aug 2019 12:56:55 +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 x71CurX1006271 for ; Thu, 1 Aug 2019 08:56:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id E7EDE60BE0; Thu, 1 Aug 2019 12:56:53 +0000 (UTC) Received: from mx1.redhat.com (ext-mx16.extmail.prod.ext.phx2.redhat.com [10.5.110.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E1EBB60BEC for ; Thu, 1 Aug 2019 12:56:51 +0000 (UTC) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) (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 9C07F3082A6C for ; Thu, 1 Aug 2019 12:56:50 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id r1so73460369wrl.7 for ; Thu, 01 Aug 2019 05:56:50 -0700 (PDT) Received: from archpc.localdomain (x8d1ee222.agdsn.tu-dresden.de. [141.30.226.34]) by smtp.gmail.com with ESMTPSA id h14sm71248878wrs.66.2019.08.01.05.56.47 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 01 Aug 2019 05:56:48 -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=dRPhwDY+VnZxGFGOdh4sOHKmgzLb8cIf3/al26oGUV8=; b=IV9vevR9glAYVIlvSHOnYbN1CvGDRb224V7nwwd8vlhbaZVt1RNaaPcAK8Wk75kxX0 tBblsEx+DgTXug7+fwMqjoNHxrfymeC9bOJRm4bBIsMHwZ9jpet48b1pn7rAyerbycWk lbSMNzHP8a8eW1oRM/WNd319tLXNQ0ti7Kogtb9sk5jm476Mh+J81SihS+/AvsHsipJd ndeOWj9YAn915+A+4CMrQuYOe29X+Xu/tGdqFCIDJKLrsdcxqkBhMn+8s330+syGQu6O /y40ldsEyoEzpJUfNkSTYnHwK0l1auDaxt7m/1TTxQv5HlM9gziGpa8sho9dhtikGhIg xmCQ== 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=dRPhwDY+VnZxGFGOdh4sOHKmgzLb8cIf3/al26oGUV8=; b=brJc6orsFir7rdCuNRJtd/Drvczwwb8pajkGBcsUpGDAApX/CyXKSsEtaS80TDu3Ni qmMoACLnAiM+/8FIBzLkNcD0JRyhr1m7CYRlfgHqYxlU5oFu0VnqbEh0p7hK/g0jloVL OF2kAOuNNbfpu6YaC2sJqj4sRQ5UOqKiFIJ/awdQ0zJTbndiHSzLnsfuuS7OcmhptWRU s55tl94bcIRU+a531J9d+ZCiLrT3++GmQ6oJK+Xrdzu8dYyjqMg26uNhRBun7bNzYrDz Rr/QG6qEuGHNs2Sk1F8w+gvhCPFYVDzMdXtKVzQjIeBJ53Iq38tXxNV6SfM4qFIMIgAV OpxQ== X-Gm-Message-State: APjAAAVWm3RrGnuHbi9NVqTlbHs7YocYiAaqOPg/OhILvrHqqmkfdIX/ HWizF9q2sdrJFaRGVO+tZEj+KxPvAIPtFA== X-Google-Smtp-Source: APXvYqwhoAMz+p2Oz+KRaMYENRoWgD0XU1f5xi8lA3e5jLWQ/kux4zduTmGcmR1VBH6uQWftM3allg== X-Received: by 2002:adf:fe4f:: with SMTP id m15mr65467147wrs.36.1564664208925; Thu, 01 Aug 2019 05:56:48 -0700 (PDT) From: Ilias Stamatis To: libvir-list@redhat.com Date: Thu, 1 Aug 2019 14:54:49 +0200 Message-Id: <20190801125453.27030-3-stamatis.iliass@gmail.com> In-Reply-To: <20190801125453.27030-1-stamatis.iliass@gmail.com> References: <20190801125453.27030-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.45]); Thu, 01 Aug 2019 12:56:50 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Thu, 01 Aug 2019 12:56:50 +0000 (UTC) for IP:'209.85.221.68' DOMAIN:'mail-wr1-f68.google.com' HELO:'mail-wr1-f68.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.221.68 mail-wr1-f68.google.com 209.85.221.68 mail-wr1-f68.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.45 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 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.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Thu, 01 Aug 2019 12:56:56 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: Ilias Stamatis --- src/test/test_driver.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index c8aad6a0bb..784622985c 100755 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -4302,6 +4302,15 @@ testDomainAttachDeviceFlags(virDomainPtr dom, xml, NULL, flags); } + +static int +testDomainAttachDevice(virDomainPtr dom, + const char *xml) +{ + return testDomainAttachDeviceFlags(dom, xml, VIR_DOMAIN_AFFECT_LIVE); +} + + static int testDomainGetAutostart(virDomainPtr domain, int *autostart) { @@ -8948,6 +8957,7 @@ static virHypervisorDriver testHypervisorDriver =3D { .domainDefineXMLFlags =3D testDomainDefineXMLFlags, /* 1.2.12 */ .domainUndefine =3D testDomainUndefine, /* 0.1.11 */ .domainUndefineFlags =3D testDomainUndefineFlags, /* 0.9.4 */ + .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