From nobody Fri May 3 11:13:06 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; 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=1565173939; cv=none; d=zoho.com; s=zohoarc; b=FmpizsiDPYRoad9SfgBsA4N9T01NLluNnKAFnxuAtfg9ZtevfPvloLuNkqQ+mqPWSIZmNx18TrSKS8Ay1PXOIYzfSjYh6EUFHd4O3RG8N3EDQRyzvbtjuzJYGTPeT7MiPE1xtlCUE+GKbt4tw4PR51eSm1p4/pd3z4uzwfLkCN8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565173939; h=Content-Type:Content-Transfer-Encoding:Cc: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=xX4OlxtX86jFOS70AsVPSEzvkQOSFEGQcSzJ8KLUIn8=; b=jtx8kdzwVWUq/zGT6abspRPIPGaqL84RQ34SOi5tfMja4KcSCFsvdHKU0nWwmeHtNOi+kcwFVOogSs5nHaq8NtoQGHRUjvOqodymDB8PaR4tlleyeOZv6Sl5lcoJFBIlZslRJ16Myhme3N9eAPkRSQ4ymR03f0BrZlR8i0CQ1Tk= 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 1565173939330798.9658971803364; Wed, 7 Aug 2019 03:32:19 -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 253457BDB7; Wed, 7 Aug 2019 10:32:18 +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 CAD976092F; Wed, 7 Aug 2019 10:32:17 +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 8D5912551E; Wed, 7 Aug 2019 10:32:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x77ANL5a010623 for ; Wed, 7 Aug 2019 06:23:21 -0400 Received: by smtp.corp.redhat.com (Postfix) id E5ED426192; Wed, 7 Aug 2019 10:23:21 +0000 (UTC) Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BB79C19C5B; Wed, 7 Aug 2019 10:23:19 +0000 (UTC) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) (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 C415BC008AF8; Wed, 7 Aug 2019 10:23:18 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id q12so517892wrj.12; Wed, 07 Aug 2019 03:23:18 -0700 (PDT) Received: from archpc.localdomain (x8d1ee222.agdsn.tu-dresden.de. [141.30.226.34]) by smtp.gmail.com with ESMTPSA id f17sm88169228wmf.27.2019.08.07.03.23.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 07 Aug 2019 03:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wgEDgHefeDj12Q5VXxLflG537tPJRhWQzWqii89drmc=; b=Y2Z5LYMUBvSO1jwlGzfvkq65SIq+OfKk9YFgrJ0tVCUlW9uRxB3F7Bbl3bR/6Q+q3L O0jZDqbNrQ6IWe3wzyWdHoAqwfzfOaiJI6RCDOSdLsV75KHQi2dtMOHMTq2w5DFQ0svq twlqCQ//V61ZBqC0u8ybVMdP+5wUNKXu35EWFBaayw6rrobEqDCxFdP6lS8bMfDIhdF5 R9JEs7vWalUuIkvN1iBSaHBQhoEqjn71nkPLw8x07zod4pXL/6BEGlyIpgXkzCt2+oJR Er3fRnWaqTaVvwlewK0t8ALg7u4Pui1mOi1eHNnu4GJyP1G0lvekZYoGxNAp+1ssg395 ykWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wgEDgHefeDj12Q5VXxLflG537tPJRhWQzWqii89drmc=; b=qPBsOFWz6r7H3m9BolpAqDXPrd4zRu5N9t+xdwFWwm1OUpRVTP8EEeO1yOGmExG5/S U0IXgtLBM8f9FV43UOMScru5oAiNewAmeml/GLetDtTI9imcVT78idLbXKWCnlkLOLk6 5YHMXa37Cj9Rn0mYxaizvOl8RURQHov8UNespkOGghiWYiCNOrucLfKA+rtfA0uQ96s8 FCT5b2HpvBR3GIpbNL9oOHnQe5ddujst0JksvxYRP70q5jhvgl8ERLraazPqhwB3TTFC z1759pcHBYdlgwOoNU8EZ4VJIYb/t8zE2n68rRQKLJpWlAVDV7wF1UXum5xgm0+RNGcR d/lA== X-Gm-Message-State: APjAAAUYr0HNu/9lN4P8K3umwP5V5uIFvw8HDokJatB2ehP7TzyNR3hS jogsNAoHLftVhAtDu1LvqMD8lNCe96cxNg== X-Google-Smtp-Source: APXvYqzhZTa3OIT0sLi4GI8f+D/S7InHgcis/Deh+VBQIcN/+2Az4rEZJYd/qY73mOMA+pPQMuOg2g== X-Received: by 2002:a05:6000:11c6:: with SMTP id i6mr9712787wrx.193.1565173397193; Wed, 07 Aug 2019 03:23:17 -0700 (PDT) From: Ilias Stamatis To: libvir-list@redhat.com Date: Wed, 7 Aug 2019 12:22:55 +0200 Message-Id: <20190807102256.31439-2-stamatis.iliass@gmail.com> In-Reply-To: <20190807102256.31439-1-stamatis.iliass@gmail.com> References: <20190807102256.31439-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.32]); Wed, 07 Aug 2019 10:23:19 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 07 Aug 2019 10:23:19 +0000 (UTC) for IP:'209.85.221.65' DOMAIN:'mail-wr1-f65.google.com' HELO:'mail-wr1-f65.google.com' FROM:'stamatis.iliass@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.099 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS) 209.85.221.65 mail-wr1-f65.google.com 209.85.221.65 mail-wr1-f65.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: Erik Skultety Subject: [libvirt] [PATCH v2 1/2] test_driver: make testDomainGetTime read time from vm-private data 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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 07 Aug 2019 10:32:18 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Until now, testDomainGetTime would always return the same fixed values everytime it was called. By using domain-private data we can make this API return the values previously set with testDomainSetTime, or use the same old fixed values in case testDomainSetTime hasn't been called at all. Signed-off-by: Ilias Stamatis Reviewed-by: Erik Skultety --- src/test/test_driver.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 6bca4e277f..3e2cd3a9a4 100755 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -392,6 +392,10 @@ struct _testDomainObjPrivate { testDriverPtr driver; bool frozen[2]; /* used by file system related calls */ + + /* used by get/set time APIs */ + long long seconds; + unsigned int nseconds; }; @@ -406,6 +410,9 @@ testDomainObjPrivateAlloc(void *opaque) priv->driver =3D opaque; priv->frozen[0] =3D priv->frozen[1] =3D false; + priv->seconds =3D 627319920; + priv->nseconds =3D 0; + return priv; } @@ -2104,6 +2111,7 @@ testDomainGetTime(virDomainPtr dom, unsigned int flags) { virDomainObjPtr vm =3D NULL; + testDomainObjPrivatePtr priv; int ret =3D -1; virCheckFlags(0, -1); @@ -2117,8 +2125,9 @@ testDomainGetTime(virDomainPtr dom, goto cleanup; } - *seconds =3D 627319920; - *nseconds =3D 0; + priv =3D vm->privateData; + *seconds =3D priv->seconds; + *nseconds =3D priv->nseconds; ret =3D 0; cleanup: -- 2.22.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Fri May 3 11:13:06 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; 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=1565173944; cv=none; d=zoho.com; s=zohoarc; b=nBj4AWLB69PmcMp9FUofcKUjOxb9y0X3CGfGJqhk//KcjWg2x0OkG1zEBtKE5SXfoUbLoF/7QWrml2ayroebJfscFcS/pXbcKFHAIv4GOk8LS5J+inVNDAapnO8cE2JjTt1ICV0/UzY7c1ZBSvjpCmB/JblVNhObw1/VOVPbve8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565173944; h=Content-Type:Content-Transfer-Encoding:Cc: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=LO1FjLUQMOLp0XqU9MLmmQIoKq4dxmCT4ZP5t/HS0Dk=; b=jxVHpuyHmRRO9RtmuFtSEuh13p5rSgKpx5uZ20WaKK4XPGwnWW8Ud4O+pIbMOck1C25Fg71qTItyinY62xcpGS7+EInBZqvmP//7FRDXT7oJPRP2l0rynsziT3caAasif3VAgp/S3D62TyGbrqksr4yTM2tdmJPigV3SrjSwbLI= 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 1565173944739719.9442200284358; Wed, 7 Aug 2019 03:32:24 -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 F1C0330BEBF9; Wed, 7 Aug 2019 10:32:22 +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 CD15B5D717; Wed, 7 Aug 2019 10:32:22 +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 8C9C7180B536; Wed, 7 Aug 2019 10:32:22 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x77ANqMe010653 for ; Wed, 7 Aug 2019 06:23:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id B0E52600C6; Wed, 7 Aug 2019 10:23:52 +0000 (UTC) Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2452C600CC; Wed, 7 Aug 2019 10:23:45 +0000 (UTC) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.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 2B7279B284; Wed, 7 Aug 2019 10:23:44 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id 10so2138426wmp.3; Wed, 07 Aug 2019 03:23:44 -0700 (PDT) Received: from archpc.localdomain (x8d1ee222.agdsn.tu-dresden.de. [141.30.226.34]) by smtp.gmail.com with ESMTPSA id f17sm88169228wmf.27.2019.08.07.03.23.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 07 Aug 2019 03:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CUnYPRc7k/YPzslckB60hRcO1eys6ZvdDkNHkLPf+PE=; b=kQwSGhyH2iw0w1zE6B7+r0fHT23B7D2DDvRb7wMimol7EXqlaXwrruiH1Wy83NsVz6 px04mvz8ri3GlwQV/SsuK35azAy4Y1qwKj6CyBTIgKfEcATh+D5DmzS3RismMmnqX9EN 8yvJSsU6xqJi5dRzk9qVc+bE0y+oRZ2IrckZ2M+ERDgXZVPIW/4B/NOz0QfDtfapHRw5 IqiEGp/Snq13SHonF2TzyI+mrKQrKTFrlqaYy029FY4unYFlJmIFFn926vKGruCOoRVN POt9L6nKh8X9qMEcykSNgTVkhHViqmbTplx+P2xnUT0nk1XlYXpo0dZsfqsv7ZUWqUfO KjEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CUnYPRc7k/YPzslckB60hRcO1eys6ZvdDkNHkLPf+PE=; b=tySrKDKJPqwslrVYENvN0SW6BAw2s59Q/11k65/rxG+lhXwadx7HiKcrR7oajSgz3t 7sp2xzmQgOSbbucOtaptCrvclpck8V4me1hrCN9b5dfft52Bq4bK7fDsmKzVLGdCm9hb lTlDmmUHNQ+frXPpJrEe7IykOVxa0x+6vATDurB2FU5mZBDmlNasfyRv/xVIS9r9i5+O V/lMFN3zzqig4ZOtrfNPGwLzmyMlwzL4qT6WmYgDqb2mEhQwOMBUU/4EXMsWcFjcb7Bh migqmoHTBWFF/27NuU/XuX22/GBct3NquY+t0b3G7jNnhtPZRmNaxJT79QykCStk309k IYvw== X-Gm-Message-State: APjAAAWpsRJ1ukZGP+GwPpqZgjFpy8aP/JtEccVmzUxJUf1KDraeIUkW /nsOgUl9On8lrYRq7+GLk3npXVRqAZFUUw== X-Google-Smtp-Source: APXvYqxkOPqADBc8AJNNR1qZoVjK+3ufMbffFTY7ylmmovBVuh0k/BqfDdWt0aBpPWUIi5WpP0NK7A== X-Received: by 2002:a1c:7516:: with SMTP id o22mr3244168wmc.19.1565173422563; Wed, 07 Aug 2019 03:23:42 -0700 (PDT) From: Ilias Stamatis To: libvir-list@redhat.com Date: Wed, 7 Aug 2019 12:22:56 +0200 Message-Id: <20190807102256.31439-3-stamatis.iliass@gmail.com> In-Reply-To: <20190807102256.31439-1-stamatis.iliass@gmail.com> References: <20190807102256.31439-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.39]); Wed, 07 Aug 2019 10:23:44 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 07 Aug 2019 10:23:44 +0000 (UTC) for IP:'209.85.128.68' DOMAIN:'mail-wm1-f68.google.com' HELO:'mail-wm1-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.128.68 mail-wm1-f68.google.com 209.85.128.68 mail-wm1-f68.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: Erik Skultety Subject: [libvirt] [PATCH v2 2/2] test_driver: implement virDomainSetTime 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.44]); Wed, 07 Aug 2019 10:32:23 +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 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 3e2cd3a9a4..6f18baa265 100755 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -2135,6 +2135,35 @@ testDomainGetTime(virDomainPtr dom, return ret; } + +static int +testDomainSetTime(virDomainPtr dom, + long long seconds, + unsigned int nseconds, + unsigned int flags) +{ + virDomainObjPtr vm =3D NULL; + testDomainObjPrivatePtr priv; + int ret =3D -1; + + virCheckFlags(VIR_DOMAIN_TIME_SYNC, ret); + + if (!(vm =3D testDomObjFromDomain(dom))) + return -1; + + if (virDomainObjCheckActive(vm) < 0) + goto cleanup; + + priv =3D vm->privateData; + priv->seconds =3D seconds; + priv->nseconds =3D nseconds; + + ret =3D 0; + cleanup: + virDomainObjEndAPI(&vm); + return ret; +} + #define TEST_SAVE_MAGIC "TestGuestMagic" @@ -8923,6 +8952,7 @@ static virHypervisorDriver testHypervisorDriver =3D { .domainGetInfo =3D testDomainGetInfo, /* 0.1.1 */ .domainGetState =3D testDomainGetState, /* 0.9.2 */ .domainGetTime =3D testDomainGetTime, /* 5.4.0 */ + .domainSetTime =3D testDomainSetTime, /* 5.7.0 */ .domainSave =3D testDomainSave, /* 0.3.2 */ .domainSaveFlags =3D testDomainSaveFlags, /* 0.9.4 */ .domainRestore =3D testDomainRestore, /* 0.3.2 */ -- 2.22.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list