3 Apr 2006 15:58
Re: Request for additional entry points
Daniel Veillard <veillard <at> redhat.com>
2006-04-03 13:58:02 GMT
2006-04-03 13:58:02 GMT
On Fri, Mar 31, 2006 at 04:47:38PM -0500, Daniel Veillard wrote: > > virDomainReboot(virDomainPtr domain) > > Reboot the domain. > > Trivial kind of cut and paste from the Shutdown routines. I just added the following: /** * virDomainReboot: * <at> domain: a domain object * <at> flags: extra flags for the reboot operation, not used yet * * Reboot a domain, the domain object is still usable there after but * the domain OS is being stopped for a restart. * Note that the guest OS may ignore the request. * * Returns 0 in case of success and -1 in case of failure. */ int virDomainReboot(virDomainPtr domain, unsigned int flags) there is also a new "virsh reboot" command to test it. However there when trying it I saw that the guest OS shutdown in reboot mode: ------------------------ Turning off quotas: Unmounting pipe file systems: Please stand by while rebooting the system... md: stopping all md devices.(Continue reading)
Also see my next mail about servers,
thanks,
Daniel
RSS Feed