libxl: fix domain suspend debug typo.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Jun 2010 06:06:05 +0000 (07:06 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Jun 2010 06:06:05 +0000 (07:06 +0100)
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
tools/libxl/libxl.c

index 18c63e8aa2d8ef34e9d793c6ffb11ecd987929e7..d7563b4b31af2122dfc782e50440ee13b6b71b8e 100644 (file)
@@ -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)