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

[Xen-changelog] [xen-unstable] Fix bootloader handling.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1170009527 0
# Node ID 5b973d94bc0027c19ce62bc8956db38f6c6b60c7
# Parent  a7fc9cc9a51f01f7d0b7df046944735182b011b3
Fix bootloader handling.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r a7fc9cc9a51f -r 5b973d94bc00 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Sun Jan 28 18:37:42 2007 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py   Sun Jan 28 18:38:47 2007 +0000
@@ -1661,7 +1661,9 @@ class XendDomainInfo:
                 log.error(msg)
                 raise VmError(msg)
 
-            disk = disks[0]
+            devinfo = self.info['devices'][disks[0]]
+            devtype = devinfo[0]
+            disk = devinfo[1]['uname']
 
             fn = blkdev_uname_to_file(disk)
             mounted = devtype == 'tap' and not os.stat(fn).st_rdev

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


 


Rackspace

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