5 Apr 2006 01:45
Re: Request for additional entry points
Jim Fehlig <jfehlig <at> novell.com>
2006-04-04 23:45:56 GMT
2006-04-04 23:45:56 GMT
Daniel Veillard wrote: >On Fri, Mar 31, 2006 at 04:47:38PM -0500, Daniel Veillard wrote: > > >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. >md: md0 switched to read-only mode.(Continue reading)
RSS Feed