WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel][PATCH]tools:fix up boot with qcow fails

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][PATCH]tools:fix up boot with qcow fails
From: "Zhang, Yang" <yang.zhang@xxxxxxxxx>
Date: Sat, 11 Apr 2009 16:29:51 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "keir.fraser@xxxxxxxxxxxxx" <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Sat, 11 Apr 2009 01:32:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acm6f67OSCz0j3jrRJ2QX7MfPeyFLw==
Thread-topic: [Xen-devel][PATCH]tools:fix up boot with qcow fails
In c/s 19349, it had removed the udev script(/tools/hotplug/Linux/blktap) and 
replaced the checks by new
ones in libblktap. So should not to uses the scritp to check in here.


diff -r c30742011bb8 tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Thu Mar 12 18:48:09 
2009 +0000
+++ b/tools/python/xen/xend/server/DevController.py     Sat Apr 11 15:48:22 
2009 +0800
@@ -144,6 +144,8 @@ class DevController:
         log.debug("Waiting for %s.", devid)
 
         if not self.hotplug:
+            return
+        if self.deviceClass == "tap":
             return
 
         (status, err) = self.waitForBackend(devid)

Signed-off-by: Yang Zhang <yang.zhang@xxxxxxxxx>

Attachment: fix_up_cannot_boot_with_qcow.patch
Description: fix_up_cannot_boot_with_qcow.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>