[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

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.