mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Fix bootloader handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
1e382e1113
commit
fcbd69e648
1 file changed
+3
-1
@@ -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
|
||||
|
||||