From: Julien Grall <julien.grall@citrix.com>
To: xen-devel@lists.xensource.com
Cc: Julien Grall <julien.grall@citrix.com>, ian.jackson@eu.citrix.com
Subject: [PATCH] libxl: don't continue to create the domain if the device model is not spawned
Date: Thu, 10 Jan 2013 12:21:07 +0000 [thread overview]
Message-ID: <1357820467-13943-1-git-send-email-julien.grall@citrix.com> (raw)
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>
---
tools/libxl/libxl_dm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index c036dc1..51f9914 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -1215,8 +1215,6 @@ static void device_model_spawn_outcome(libxl__egc *egc,
}
}
- rc = 0;
-
out:
dmss->callback(egc, dmss, rc);
}
--
Julien Grall
next reply other threads:[~2013-01-10 12:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-10 12:21 Julien Grall [this message]
2013-01-17 13:53 ` [PATCH] libxl: don't continue to create the domain if the device model is not spawned Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1357820467-13943-1-git-send-email-julien.grall@citrix.com \
--to=julien.grall@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).