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.