diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 47b945f200..ce52533c62 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -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