mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
0289e710ca
commit
3a43d9b747
1 file changed
-2
@@ -1215,8 +1215,6 @@ static void device_model_spawn_outcome(libxl__egc *egc,
|
||||
}
|
||||
}
|
||||
|
||||
rc = 0;
|
||||
|
||||
out:
|
||||
dmss->callback(egc, dmss, rc);
|
||||
}
|
||||
|
||||