How to reboot domain(virtual machine) after shutdown it through php-libvirt

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

 



How to reboot domain(virtual machine) after shutdown it through php-libvirt:

Hi,

Am new to php livbvirt. and i successfully listed the all domains in server. and get resource of particular domain and call the shutdown function.
$res = libvirt_domain_lookup_by_name($conn, $name);
$stop = libvirt_domain_shutdown($res);

Now shutdowned domain is not display in domain list.

Now the problem is how to reboot/restart that domain again? libvirt having function for reboot, that is,
libvirt_domain_create($res);
My doubt is what is argument here, how to get that shutdowned domain resources.

Any one kindly help me.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]