[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] pibvirt php help



sir 
   i am trying to create ssh connention and i am able to connect with out password from terminal using 
virsh -c qemu+ssh://punit 192 168 102 133/system 

but this is not working with libvirt-php binding 

error :for libvirt-php ssh connection
"Libvirt last error: cannot recv data: Resource temporarily unavailable"

my php code is
<?php

$res1=libvirt_connect("qemu+ssh://punit 192 168 102 133/system",false);


print_r($res1); printf ("\n");

if ($res1==false)
{
    echo ("Libvirt last error: ".libvirt_get_last_error());
    
}
?>




--
Punit Gupta
M-Tect (jiit noida)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]