Description of problem:
Virt-manager forces the creation of qemu+ssh and xen+ssh URI's to include the root user.
Steps to Reproduce:
1. File, Open Connection
2. Choose Remote tunnel over SSH
3. Enter a hostname
The URI generated is 'qemu+ssh://root@hostname/system'
The URI generated should be 'qemu+ssh://hostname/system'
libvirt does not require root access and should frown upon using the root account to access libvirt if anything. A username should not be hardcoded, or at the least should detect if a username is provided in the entry field and use that instead.
Thanks for the report. Just committed a fix for this, the user can now specify the username via user@hostname syntax when opening a new connection:
I think this is the safest fix, rather than change existing behavior when no username is specified.
Closing as UPSTREAM.