Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA-217805: Prefer asking newer guests to poweroff rather than halt
There is now a spec of how the shutdown protocol should work: http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/misc/xenstore-paths.markdown#l378 This patch changes xenopsd to prefer the `poweroff` shutdown command over the `halt` command, but only when the guest advertises `feature-poweroff`. Note that libxl has used `poweroff` exclusively for several years now: http://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=79e162885078a9daaaf9679d547aaa65c78e3559 Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
- Loading branch information