libxl: allow dom0 to be destroyed
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Fri, 11 Apr 2014 09:22:49 +0000 (11:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 11 Apr 2014 09:22:49 +0000 (11:22 +0200)
commit708aea1af1933de6b1334c31c509feac1d838bfc
tree93ed0a729501098bc8cf5d00b174e0aeedfbd048
parentc248d4264bb9148600a1b9fb813eaa812544ee82
libxl: allow dom0 to be destroyed

When dom0 is not the hardware domain, it can be destroyed in the same
way as any other service domain.  To avoid accidental use when a domain
is not resolved, destroying domain 0 requires passing -f to xl destroy.
Since the hypervisor already prevents a domain from destroying itself,
this patch is only useful in a disaggregated environment.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
docs/man/xl.pod.1
tools/libxl/xl_cmdimpl.c
tools/libxl/xl_cmdtable.c