From nobody Mon Sep 21 19:53:42 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) client-ip=38.145.34.151; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1783602544; cv=none; d=zohomail.com; s=zohoarc; b=W7n1dw9tGG+VvbztYqkwwU7fPdMheJ76DKmEUbPWlo8n8YCofEUnX9FnsgfkYPE3pk9WLtLjd6dsCD7leRCBK53PDsjpjj6Qec598wI2PmRKf53YnbJ2a/yp4steU94MamdJ8clrAYM0NJSVl5/Sd1Jdjl6HlSF7t+P5l5pHylc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783602544; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id; bh=D+IEuMZeKwn0ECJadJLxu1G6TjqaVxY9Hw+ZVzgjU6M=; b=hBgUNWPMrklVgaHAjrRN25HX5MORlkyAPcGyhblHoUY/P4hmzZoS+bKQMZf2M+8XiOaj6lv6IINgDUVFpNnEjd1Ke7Porl5NBd05fP254WRqlzECETuk39bwYR6NnpQ2NsqyggtRH1I4KsmiKv5u71vRBsErVz9lsAVYWaNXksU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 38.145.34.151 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [38.145.34.151]) by mx.zohomail.com with SMTPS id 1783602544834757.3731675811532; Thu, 9 Jul 2026 06:09:04 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id A40EA41BB8; Thu, 9 Jul 2026 09:09:03 -0400 (EDT) Received: from [172.19.199.10] (unknown [10.16.107.18]) by lists.libvirt.org (Postfix) with ESMTP id 453AA41DD4; Thu, 9 Jul 2026 09:06:26 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 8C04B41B52; Thu, 9 Jul 2026 09:05:58 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id EDEDB41A4E for ; Thu, 9 Jul 2026 09:05:57 -0400 (EDT) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-444-66iKlZwFOEaO4GvX3b2uPg-1; Thu, 09 Jul 2026 09:05:56 -0400 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C2BE31955E8F for ; Thu, 9 Jul 2026 13:05:55 +0000 (UTC) Received: from rsmigiel-thinkpadx1carbongen11-remote-csb.redhat.com (unknown [10.44.33.224]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D689536F29; Thu, 9 Jul 2026 13:05:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,SPF_HELO_PASS autolearn=no autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783602357; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D+IEuMZeKwn0ECJadJLxu1G6TjqaVxY9Hw+ZVzgjU6M=; b=YUcXvk96sTZZAnmtmbLi83Es8b4WjfDgypnSr2NlZ914fFXQzXxADG4ID8tPPensnmHfBr m0v98wrcML4oVx9IjCTJ/OQ87ne22P/FjPp2p+yehEPtcRH+t9uGRjQ8ndu32cwvzQfoCe URa+IHLo+UxDU2KuD3l8pWHBGmF+sGc= X-MC-Unique: 66iKlZwFOEaO4GvX3b2uPg-1 X-Mimecast-MFC-AGG-ID: 66iKlZwFOEaO4GvX3b2uPg_1783602355 To: devel@lists.libvirt.org Subject: [PATCH 2/6] virsh: Add completer for '--dest' option of 'blockcopy' command Date: Thu, 9 Jul 2026 15:00:58 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: BJ-3pXs4856i0S0aM56JcTMq6iIX8hUvg0cDFo4uawM_1783602355 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: MRGSTVA6MIGGTK57QWIIFX37GCVIWPFQ X-Message-ID-Hash: MRGSTVA6MIGGTK57QWIIFX37GCVIWPFQ X-MailFrom: rsmigiel@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Radoslaw Smigielski X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: =?utf-8?q?Rados=C5=82aw_=C5=9Amigielski_via_Devel?= Reply-To: rsmigiel@redhat.com X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1783602546526158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Radoslaw Smigielski The '--dest' option of 'blockcopy' command specifies the path of the copy to create. Partially-fixes: https://gitlab.com/libvirt/libvirt/-/work_items/9 Signed-off-by: Radoslaw Smigielski --- tools/virsh-domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index f466976931c6..e6f2ca3a449a 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -2629,6 +2629,7 @@ static const vshCmdOptDef opts_blockcopy[] =3D { {.name =3D "dest", .type =3D VSH_OT_STRING, .unwanted_positional =3D true, + .completer =3D vshCompletePathLocalExisting, .help =3D N_("path of the copy to create") }, {.name =3D "bandwidth", --=20 2.54.0