Hi All,
Im trying to figure how to use libvirt_domain_is_active but I'm
unable to find what I am doing wrong.
I tested it with php-libvirt-0.4.4 an with 0.4.3 but i have the
same problem
Im using libvirt-0.9.6-2.fc16.x86_64 with the following code
Can someone point me in the right direction with the use of
libvirt_domain_is_active ?
Thanks
------8<------CODE
--------8<------------------------------------
print_r ( libvirt_version() );
$domains=libvirt_list_domains($conn);
print_r ($domains);
foreach ( $domains as $domain ) {
print "$domain\n";
print libvirt_domain_is_active($domain);