aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-01-31 16:34:39 +0000
committerIan Campbell <ian.campbell@citrix.com>2012-01-31 16:34:39 +0000
commit6ac0345c31bf2992296ffcce227bcb73c0a7d12b (patch)
tree420d9307ed14a539192da72f6c477b9aa00f689b /tools/libxl/libxl.h
parentcf3b8d958cd16ced7cdf5674406482efade3db29 (diff)
downloadxen-6ac0345c31bf2992296ffcce227bcb73c0a7d12b.tar.gz
xen-6ac0345c31bf2992296ffcce227bcb73c0a7d12b.tar.bz2
xen-6ac0345c31bf2992296ffcce227bcb73c0a7d12b.zip
libxl: add named enum for timer mode.
Unlike previous iterations of this patch the enum values now match the underlying domctl values. I looked at updating xl.cfg(5) for these while I was here but frankly, even after reading the comment in xen/include/public/hvm/params.h, I don't have a clue what they mean, no_missed_ticks_pending in particular might as well be written in klingon... For the same reason I didn't try and give the enum more user-friendly names. Signed-off-by: Ian Campbell <ian.campbell@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/libxl.h')
-rw-r--r--tools/libxl/libxl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
index a9a55df3e9..3ec22bcde1 100644
--- a/tools/libxl/libxl.h
+++ b/tools/libxl/libxl.h
@@ -203,6 +203,8 @@ typedef LIBXL_TAILQ_ENTRY(struct libxl_event) libxl_ev_link;
typedef struct libxl__ctx libxl_ctx;
+#define LIBXL_TIMER_MODE_DEFAULT LIBXL_TIMER_MODE_NO_DELAY_FOR_MISSED_TICKS
+
#include "_libxl_types.h"
const libxl_version_info* libxl_get_version_info(libxl_ctx *ctx);