diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index 18c63e8aa2..d7563b4b31 100644 --- a/tools/libxl/libxl.c +++ b/tools/libxl/libxl.c @@ -495,7 +495,7 @@ int libxl_domain_suspend(struct libxl_ctx *ctx, libxl_domain_suspend_info *info, { int hvm = is_hvm(ctx, domid); int live = info != NULL && info->flags & XL_SUSPEND_LIVE; - int debug = info != NULL && info->flags & XL_SUSPEND_LIVE; + int debug = info != NULL && info->flags & XL_SUSPEND_DEBUG; core_suspend(ctx, domid, fd, hvm, live, debug); if (hvm)