On 18/8/08 17:57, "Shaun R." <mailinglists@unix-scripts.com>
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@lists.xensource.com
http://lists.xensource.com/xen-devel