diff -r 96917cf25bf3 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Fri May 28 10:54:07 2010 +0100 +++ b/tools/libxl/libxl.c Mon May 31 16:34:12 2010 +0800 @@ -495,7 +495,7 @@ { 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)