[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xc_domain_shutdown
On 18/8/08 17:57, "Shaun R." <mailinglists@xxxxxxxxxxxxxxxx> wrote: > The following destroys a domain, how can i gracefully shutdown the domU with > this, just as if i sent it a `xm domid shutdown`??? > > xc_domain_shutdown( xc_handle, domid, SHUTDOWN_poweroff ) You have to tell the guest to shut itself down gracefully by writing to xenstore. I think it would be something like writing 'poweroff' to the node '/local/domain/<domid>/control/shutdown'. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |