xl: Allow shutdown wait for domain death
authorJason Andryuk <jandryuk@gmail.com>
Wed, 17 Jun 2020 02:36:42 +0000 (03:36 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 18 Jun 2020 15:58:56 +0000 (16:58 +0100)
commitf0dca895a58710ecd49d813c96d382d5625b74c1
treec29bc45647be653fc7c5418e8dd8ab15588a4e48
parent25636ed707cf1211ce846c7ec58f8643e435d7a7
xl: Allow shutdown wait for domain death

`xl shutdown -w` waits for the first of either domain shutdown or death.
Shutdown is the halting of the guest operating system, and death is the
freeing of domain resources.

Allow specifying -w multiple times to wait for only domain death.  This
is useful in scripts so that all resources are free before the script
continues.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Paul Durrant <paul@xen.org>
docs/man/xl.1.pod.in
tools/xl/xl_vmcontrol.c