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

[Xen-devel] [PATCH] fix vmx guest create problem


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ling, Xiaofeng" <xiaofeng.ling@xxxxxxxxx>
  • Date: Tue, 20 Sep 2005 23:08:14 +0800
  • Delivery-date: Tue, 20 Sep 2005 15:06:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcW99R8gC7HAmuJ3QRyxnJnjP9AwGQ==
  • Thread-topic: [PATCH] fix vmx guest create problem

The vmx guest loading is broken from 6925 because of the new DevController code.

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

diff -r d1cbfaf804d9 tools/python/xen/xend/server/blkif.py
--- a/tools/python/xen/xend/server/blkif.py     
+++ b/tools/python/xen/xend/server/blkif.py     
@@ -42,7 +42,7 @@
         
         typedev = sxp.child_value(config, 'dev')
         if re.match('^ioemu:', typedev):
-            return
+            return (0,{},{})
 
         devid = blkif.blkdev_name_to_number(sxp.child_value(config, 'dev'))

-------------------
Ling Xiaofeng(Daniel)
Open Source Technology Center
Intel China Software Center
iNet: 8-752-1243
8621-52574545-1243(O)
xfling@xxxxxxxxxxxxxxxxxxxxx

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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