projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e382e1
)
Fix bootloader handling.
author
Ewan Mellor
<ewan@xensource.com>
Sun, 28 Jan 2007 18:38:47 +0000
(18:38 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sun, 28 Jan 2007 18:38:47 +0000
(18:38 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index cc0280ac97632a924f6f65b65708eb1509e88aeb..4d55e03091b47367193ec40572f42802f34331a9 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-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