aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl.h
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2012-05-14 16:17:46 +0100
committerRoger Pau Monne <roger.pau@citrix.com>2012-05-14 16:17:46 +0100
commit688e95c3b338a33c73ae8493c823a98c3ebe7e86 (patch)
tree39730e74a600627ad577a857cdd45a6f3a9dd3b9 /tools/libxl/xl.h
parent98e10364bde098e12104caa4f566b17d05f8b791 (diff)
downloadxen-688e95c3b338a33c73ae8493c823a98c3ebe7e86.tar.gz
xen-688e95c3b338a33c73ae8493c823a98c3ebe7e86.tar.bz2
xen-688e95c3b338a33c73ae8493c823a98c3ebe7e86.zip
libxl: prevent xl from doing operations on domains if xend is running
Prevent xl from doing any operation if xend daemon is running. That prevents bugs that happened when xl and xend raced to close a domain. Signed-off-by: Roger Pau Monne <roger.pau@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/xl.h')
-rw-r--r--tools/libxl/xl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/xl.h b/tools/libxl/xl.h
index 2b6714af36..5d0d50440f 100644
--- a/tools/libxl/xl.h
+++ b/tools/libxl/xl.h
@@ -21,6 +21,7 @@ struct cmd_spec {
char *cmd_name;
int (*cmd_impl)(int argc, char **argv);
int can_dryrun;
+ int modifies;
char *cmd_desc;
char *cmd_usage;
char *cmd_option;