Hi libvirt team, I suffered some troubles. Could you please give me some advices? Our team plan to control more then 100 android emulators, however, we failed to connect to the local android emulators by libvirt. Now we have tested 2 ways. 1. Converting from QEMU args to domain XML. It's a right way to control the local QEMU built manually. But the android emulator based on QEMU modified its command a lot, so we cancelled the way. 2. Using libvirt hypervisor driver for QEMU. Actually we think the URI ---"qemu+tcp://127.0.0.1:5555/system"(the IP and port is given by android emulator) -- is theoretically available, also, we could connect to the IP successfully by socket's program, but the result is "error: server closed connection: error: failed to connect to the hypervisor". We don't figure the reason out now. Concerning about such problmes above, I have some questions? 1.Can the libvirt connect to local hypervisors by "qemu+tcp" as described above? 2.If we can't do by "qemu+tcp", could you please give us some suggestoins? Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120803/daf956fb/attachment.htm>
vipul borikar
2012-Aug-03 13:11 UTC
[libvirt-users] How to connect to local hpyervisor by libvirt?
Have you tried qemu:///system . If that works then there is problem with tcp. You might not have enabled tcp setting in libvirtd.conf On Fri, Aug 3, 2012 at 2:58 PM, ?? <wherethriving at hotmail.com> wrote:> Hi libvirt team, > I suffered some troubles. Could you please give me some advices? > Our team plan to control more then 100 android emulators, however, we > failed > to connect to the local android emulators by libvirt. Now we have tested > 2 ways. > 1. Converting from QEMU args to domain XML. It's a right way to > control the local QEMU built manually. But the android emulator based > on QEMU modified its command a lot, so we cancelled the way. > 2. Using libvirt hypervisor driver for QEMU. Actually we think the URI > ---"qemu+tcp://127.0.0.1:5555/**system <http://127.0.0.1:5555/system>"(the > IP and port is given by android emulator) -- is theoretically available, > also, we could connect to the IP successfully by socket's program, but the > result is "error: server closed connection: > error: failed to connect to the hypervisor". We don't figure the reason > out now. > > Concerning about such problmes above, I have some questions? > 1.Can the libvirt connect to local hypervisors by "qemu+tcp" as > described above? > 2.If we can't do by "qemu+tcp", could you please give us some > suggestoins? > Thanks a lot! > > > > > _______________________________________________ > libvirt-users mailing list > libvirt-users at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >-- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120803/d364b88c/attachment.htm>
Reasonably Related Threads
- error : virPidFileAcquirePath:345 : Failed to acquire pid file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable
- Ubuntu 11.04 DomU not showing external block Device
- Child process died
- Ubuntu 11.04 shutdown Problem
- libvirtd may need to be started: Permission denied