Re: [libvirt] LIBVIRT-PHP List of domains

2012-03-27 Thread Martin Kletzander
On 03/24/2012 03:24 PM, Ali Raza Memon wrote: 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

[libvirt] LIBVIRT-PHP List of domains

2012-03-26 Thread Ali Raza Memon
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