From nobody Mon Sep 21 05:51:33 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=1783602487; cv=none; d=zohomail.com; s=zohoarc; b=gAb8c+ogDLhVWKJTn+XYyvShT/aDDMpHmyBWyBuPAx44f44KXDq/Eqd4LQ5mwKLMcumw33QkVCp2eReqouFZ6MkB/0gr2e7sxYDP68gxAzr7j6pETRT8Uqen/O9IK3BCxzXgoaU0IfS6owRxiOJhg0p8AveF2X4RP0m2QbG01R8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783602487; 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=JG9wnEPqQ2Xry10Ihb7HC6bjQVEoUe+UD8D+ixs1mFA=; b=gTGqagqq3IVHkJ1it0U9OggDTlsT4eS9vNeJLbo7+j2lsEVDjSk7beaVtzgxbTUzrZlK1NfP/6mXzGM6iVsvGLSWsTShkIzutfIV7fitnos4StV6fkGMkfKPQV/r48syT1NZI5oiKoPza6W0bmO+yJDIoysAYcKETz66afcQWs8= 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 1783602487841761.5003492833437; Thu, 9 Jul 2026 06:08:07 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 59F8B41B50; Thu, 9 Jul 2026 09:08:05 -0400 (EDT) Received: from [172.19.199.10] (unknown [10.16.107.18]) by lists.libvirt.org (Postfix) with ESMTP id 5ABFC41D90; Thu, 9 Jul 2026 09:06:17 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id BED6741A4E; Thu, 9 Jul 2026 09:05:57 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 0944B41B4A for ; Thu, 9 Jul 2026 09:05:56 -0400 (EDT) Received: from mx-prod-mc-01.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-231-aPmd37kPOzW_8lHLCDfcAw-1; Thu, 09 Jul 2026 09:05:55 -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-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6D6C51955F1A for ; Thu, 9 Jul 2026 13:05:54 +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 F241536F29; Thu, 9 Jul 2026 13:05:52 +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_H3, 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=1783602356; 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=JG9wnEPqQ2Xry10Ihb7HC6bjQVEoUe+UD8D+ixs1mFA=; b=ClNE9KrQX4J3iPqptn+WwmHVWKTvvy48yRNKI7J3kCTkALMrvdZeSucid6m0wWXyywV8By sW7vlxpINPUar4Vgiv9C3fRh57qobDuwpb4P8zM9yEHKuLL7qhS6RYxeLykk8/dE/Vn6uc zvbNFjypJrJkEHpy4IE0cVAa7cWikU4= X-MC-Unique: aPmd37kPOzW_8lHLCDfcAw-1 X-Mimecast-MFC-AGG-ID: aPmd37kPOzW_8lHLCDfcAw_1783602354 To: devel@lists.libvirt.org Subject: [PATCH 1/6] virsh: Add completer for '--file' option of 'dump' subcommand Date: Thu, 9 Jul 2026 15:00:57 +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: uJQmMiRLpAgq4P8ZOPI9SacBAyeZ7ZkJO8tqElq8ADM_1783602354 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: IW7UB2J5G42VUCCQFO5YHCFSOXNM53KG X-Message-ID-Hash: IW7UB2J5G42VUCCQFO5YHCFSOXNM53KG 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: 1783602490039158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Radoslaw Smigielski The '--file' option of 'dump' command specifies where to store the core dump file. 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 aa4f2a7a481b..f466976931c6 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5911,6 +5911,7 @@ static const vshCmdOptDef opts_dump[] =3D { .type =3D VSH_OT_STRING, .positional =3D true, .required =3D true, + .completer =3D vshCompletePathLocalExisting, .help =3D N_("where to dump the core") }, VIRSH_COMMON_OPT_LIVE(N_("perform a live core dump if supported")), --=20 2.54.0