[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: don't continue to create the domain if the device model is not spawned


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Fri, 18 Jan 2013 10:33:13 +0000
  • Delivery-date: Fri, 18 Jan 2013 10:33:21 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Julien Grall <julien.grall@xxxxxxxxxx>
# Date 1358430789 0
# Node ID cdbfe54df8afb72379462a9aafd1d3d72739462e
# Parent  414e6d1c9680614e283d48dbe9d91452de8c27b6
libxl: don't continue to create the domain if the device model is not spawned

When the device model can't be spawned, rc variable is cleared in
device_model_spawn_outcome (libxl_dm.c).
In this case libxl will continue to create the domain and let it between life
and death.

Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 414e6d1c9680 -r cdbfe54df8af tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c    Thu Jan 17 13:53:07 2013 +0000
+++ b/tools/libxl/libxl_dm.c    Thu Jan 17 13:53:09 2013 +0000
@@ -1215,8 +1215,6 @@ static void device_model_spawn_outcome(l
         }
     }
 
-    rc = 0;
-
  out:
     dmss->callback(egc, dmss, rc);
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.