On Thu, May 14, 2026 at 08:30:35AM +0100, Richard W.M. Jones wrote:
On Wed, May 13, 2026 at 03:36:44PM +0200, Martin Kletzander wrote:
On Wed, May 13, 2026 at 09:47:55AM +0100, Richard W.M. Jones wrote:
>One thing I did notice (unrelated to this patch) is that tab-
>completion in virsh seems to hang.  I'm unable to recover even with ^C ...
>

I understand that it happened even before this patch, since it's
unrelated, right?  I cannot reproduce it.  I tried completing domain
names and block devices etc. and even when it took a lot longer I was
still able to kill it with Ctrl-C.

Definitely this is hanging for me, on a second machine as well.
However only when I use a valid esx://... URI.

For example:

$ virsh -c esx://root@[redacted]/?no_verify=1 <TAB>

hangs.  ^C doesn't do anything, and more interestingly nothing seems
to be taking any CPU.

I will let it run for a bit to see if it ever recovers, and file
a bug soon.

Then I tried it in interactive virsh instead of bash and there are some
inconsistencies.  When trying to complete something that needs to fetch
data from the server then Ctrl-C does nothing until the completion hits,
and then it kills the shell.  But I haven't been able to find anything
that would take so long it felt blocked or even something that would
actually block.

Did you try with an esx:// URI?


No, only vpx://, feel free to give me an example off-list and we might
figure it out.  @Michal (Cc'd) is back as well and he is the
(not only bash-)completion master around here, so he might know a thing
or two as well.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

Attachment: signature.asc
Description: PGP signature

Reply via email to