[libvirt] LIBVIRT-PHP List of domains

Ali Raza Memon raza.memon at live.com
Sat Mar 24 14:24:17 UTC 2012


Hi.. I am trying to get the names of all the xen domains using libvirt-php. I saw this php script: <?php
     $conn = libvirt_connect('null', false);
     $doms = libvirt_list_domains($conn);
     print_r($doms); ?> It gives me error. Could you please tell me how to connect to xen hypervisor? I have also tried: $conn = libvirt_connect('xen:///', false); but it wont work.. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120324/00bc6bb0/attachment-0001.htm>


More information about the libvir-list mailing list