tools: don't stop xenstore domain when stopping dom0
authorJuergen Gross <jgross@suse.com>
Mon, 18 Jan 2016 08:04:03 +0000 (09:04 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 18 Jan 2016 16:35:56 +0000 (16:35 +0000)
commitc5df1c4b5474e1c2197aa1cf96a721a6e113893b
tree7065d19db70352b2d66eaccebeaccb3c28f856d2
parent1367af1cca57e051d6f7b723056a422cc9d4fd46
tools: don't stop xenstore domain when stopping dom0

When restarting or shutting down dom0 the xendomains script tries to
stop all other domains. Don't do this for the xenstore domain, as it
might survive a dom0 reboot in the future.

The same applies to xl shutdown --all. Here the xenstore domain is
flagged as "never stop".

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/hotplug/Linux/xendomains.in
tools/libxl/xl_cmdimpl.c