All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ling, Xiaofeng" <xiaofeng.ling@intel.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] fix vmx guest creation fail due to vbd connection error detection
Date: Wed, 02 Nov 2005 14:44:43 +0800	[thread overview]
Message-ID: <4368605B.6070606@intel.com> (raw)

Changeset 7582 adds vbd connect error detection, this cause vmx guest
creation fail.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>

diff -r ae2e13795c63 tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Tue Nov  1 
19:13:06 2005 +0100
+++ b/tools/python/xen/xend/server/DevController.py     Wed Nov  2 
14:38:31 2005 +0800
@@ -57,6 +57,8 @@
          @return The ID for the newly created device.
          """
          (devid, back, front) = self.getDeviceDetails(config)
+        if devid == 0:
+            return devid

          self.writeDetails(config, devid, back, front)

                 reply	other threads:[~2005-11-02  6:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4368605B.6070606@intel.com \
    --to=xiaofeng.ling@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.