mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
bitkeeper revision 1.1108.2.1 (40fbe925tXfT_97FffvS1h8aPcGujA)
Don't trust sfdisk -- leave determining a blkdev's lenth to the backend driver.
This commit is contained in:
1 parent
e17fa59f09
commit
13b4d9fade
1 file changed
+1
-1
@@ -100,7 +100,7 @@ def lookup_raw_partn(name):
|
||||
if line:
|
||||
return [ { 'device' : blkdev_name_to_number(p),
|
||||
'start_sector' : long(0),
|
||||
'nr_sectors' : long(line) * 2,
|
||||
'nr_sectors' : long(1L<<63),
|
||||
'type' : 'Disk' } ]
|
||||
else:
|
||||
# see if this is a hex device number
|
||||
|
||||