|
parse_size(size_str)
Takes a size like qemu-img would accept it and returns the size in MB |
source code
|
|
|
|
|
rootpart(disks)
Returns the partition which contains the root dir |
source code
|
|
|
bootpart(disks)
Returns the partition which contains /boot |
source code
|
|
|
|
|
|
|
|
|
get_ordered_filesystems(vm)
Returns filesystems (self hosted as well as contained in partitions
in an order suitable for mounting them |
source code
|
|
|
get_ordered_partitions(disks)
Returns partitions from disks in an order suitable for mounting them |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|