Fix bootloader handling.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2007-01-28 18:38:47 +00:00
1 parent 1e382e1113
commit fcbd69e648
1 file changed
+3 -1
+3 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.