[libvirt] remote connection issue 'virsh -c qemu+ssh:///root at localhost/system list'

Yin Olivia-R63875 r63875 at freescale.com
Thu Mar 21 11:23:31 UTC 2013


Hi,

I'm trying remote connection with qemu hypervisor on FSL PPC board.

The libvirt server is the PPC board.

root at ppc:~# ifconfig eth0 10.193.20.109
root at ppc:~# libvirtd -d
root at ppc:~# virsh -c qemu:///system define test.xml
root at ppc:~# virsh -c qemu:///system start test
root at ppc:~# virsh -c qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 2     test                           running

Connect from an X86 PC (Ubuntu 10.04) to the PPC board.

user at x86:~$ virsh -c qemu+ssh://root@10.193.20.109/system list --all
The authenticity of host '10.193.20.109 (10.193.20.109)' can't be established.
RSA key fingerprint is 2f:56:07:08:da:7d:ac:41:45:57:d2:12:15:19:67:e0.
Are you sure you want to continue connecting (yes/no)? yes
root at 10.193.20.109's password:
error: failed to connect to the hypervisor
error: End of file while reading data: Warning: Permanently added '10.193.20.109' (RSA) to the list of known hosts.
nc: invalid option -- 'U'
BusyBox v1.19.4 (2013-03-08 13:08:18 CST) multi-call binary.

Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]: Input/output error



I tried to verify the remote connection on localhost. But it also failed as below:

root at mpc8572ds:~# virsh -c qemu+ssh:///root@localhost/system list --all
root at localhost's password:
error: failed to connect to the hypervisor
error: End of file while reading data: nc: invalid option -- 'U'
BusyBox v1.19.4 (2013-03-08 13:08:18 CST) multi-call binary.

Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]: Input/output error


Could anyone give suggestion on this issue?


Best Regards,
Olivia





More information about the libvir-list mailing list