On Thu, Jul 09, 2026 at 15:00:58 +0200, Radosław Śmigielski via Devel wrote:
> From: Radoslaw Smigielski <rsmigiel@redhat.com>
>
> The '--dest' option of 'blockcopy' command specifies the path of the
> copy to create.
Same as before, this file doesn't exist yet ....
>
> Partially-fixes: https://gitlab.com/libvirt/libvirt/-/work_items/9
> Signed-off-by: Radoslaw Smigielski <rsmigiel@redhat.com>
> ---
> 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[] = {
> {.name = "dest",
> .type = VSH_OT_STRING,
> .unwanted_positional = true,
> + .completer = vshCompletePathLocalExisting,
... so you shouldn't use the 'Existing' completer.
> .help = N_("path of the copy to create")
> },
> {.name = "bandwidth",
> --
> 2.54.0
>