From nobody Tue Sep 22 22:52:01 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=1783602788; cv=none; d=zohomail.com; s=zohoarc; b=NUi5XGYpLiEUESyMevQZpx7eeTlkCj2YA5zs4UMWlyraIbbqIcH+5scrK2geVLb5sIWyBBUzDVt4NSNHjH+2LYHDEM7ZSMd+3Oi9zYKhGEO16wvUwBneqmUIRjGVrO+8WMDlAbDqJX3TTbIsTGX/qMZnqadh3z4ZoBHL73uvVjU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783602788; 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=F6sx3aqaiHG1bwUdDmVT1Y2XAyBDiVgb68gSggp/jms=; b=HWlaostyjq2t62ylK2uDlLtVMiAVWD5eWxc/yXpH275QUdVax3E2tsa+wmLhNXcGv/iwz+6CFb8Qzj1h8xuNzjN3i6zFKKaSJ1GzsvnCZ9Kwo33MZOv7lZmdNNu63HflbtPGqQJOlZuNzFqVPYWabiB0QrN6DekHthlchVARCnw= 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 1783602788799956.8212729036636; Thu, 9 Jul 2026 06:13:08 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id BB5A041AA9; Thu, 9 Jul 2026 09:13:07 -0400 (EDT) Received: from [172.19.199.10] (unknown [10.16.107.18]) by lists.libvirt.org (Postfix) with ESMTP id 1D52F43DE7; Thu, 9 Jul 2026 09:06:47 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 94AF041CBB; Thu, 9 Jul 2026 09:06:19 -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 B298041CBB for ; Thu, 9 Jul 2026 09:06:03 -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-260-Yeg7l-7VMaaIQLPSqgc6lg-1; Thu, 09 Jul 2026 09:06:02 -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 6242119560B7 for ; Thu, 9 Jul 2026 13:06:01 +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 7648936933; Thu, 9 Jul 2026 13:06:00 +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=1783602363; 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=F6sx3aqaiHG1bwUdDmVT1Y2XAyBDiVgb68gSggp/jms=; b=DDbuEk43YHvpOXzD6QsHXZ1kr+nW0FYJUYtQcmSZZQIQWbfnzr1wy66T9xJzfpi9WAjxfU tjH/NKY/s9xpTpUampJIhTQZyixSaBogZXHul0VujXEIo9hY12mvPGJkFyY7AIuiRx21zA J5/+RgaHsAHeeJYRA2v+KeNM404BGKg= X-MC-Unique: Yeg7l-7VMaaIQLPSqgc6lg-1 X-Mimecast-MFC-AGG-ID: Yeg7l-7VMaaIQLPSqgc6lg_1783602361 To: devel@lists.libvirt.org Subject: [PATCH 6/6] virsh: Add completer for '--file' option of 'save' command Date: Thu, 9 Jul 2026 15:01:02 +0200 Message-ID: <9e3c9e31a9758a318bf6f1018be5bdb319f4d77b.1783602062.git.rsmigiel@redhat.com> 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: ig3dcrCSy0lo7SrdIBm7KJvSW2TrAa0P_KVdIcfqLMM_1783602361 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: KOJBL6GXOIN27MUFIOUPA6E6WHSKOMMW X-Message-ID-Hash: KOJBL6GXOIN27MUFIOUPA6E6WHSKOMMW 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: 1783602790773158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Radoslaw Smigielski The '--file' option of 'save' command specifies where to store the saved domain state. 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 abe3d0b3451e..56066edc5b31 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -4652,6 +4652,7 @@ static const vshCmdOptDef opts_save[] =3D { .type =3D VSH_OT_STRING, .positional =3D true, .required =3D true, + .completer =3D vshCompletePathLocalExisting, .help =3D N_("where to save the data") }, {.name =3D "bypass-cache", --=20 2.54.0