libvirt/src/storage
Matthias Bolte d9ad8ac392 Add VIR_DIV_UP to divide memory or storage request sizes with round up
Use it in all places where a memory or storage request size is converted
to a larger granularity. This avoids requesting too small memory or storage
sizes that could result from the truncation done by a simple division.

This extends the round up fix in 6002e0406c
to the whole codebase.

Instead of reporting errors for odd values in the VMX code round them up.

Update the QEMU Argv tests accordingly as the original memory size 219200
isn't a even multiple of 1024 and is rounded up to 215 megabyte now. Change
it to 219100 and 219136. Use two different values intentionally to make
sure that rounding up works.

Update virsh.pod accordingly, as rounding down and rejecting are replaced
by rounding up.
2011-01-29 00:42:10 +01:00
..
parthelper.c maint: improve i18n on non-Linux 2010-11-17 10:12:57 -07:00
storage_backend_disk.c maint: use gnulib configmake rather than open-coding things 2010-11-17 08:58:58 -07:00
storage_backend_disk.h
storage_backend_fs.c storage: Ignore dangling symbolic link for filesystem pool 2010-12-21 08:07:09 -07:00
storage_backend_fs.h
storage_backend_iscsi.c Check whether pools are already active upon libvirtd startup 2010-11-23 15:00:35 +00:00
storage_backend_iscsi.h
storage_backend_logical.c Add VIR_DIV_UP to divide memory or storage request sizes with round up 2011-01-29 00:42:10 +01:00
storage_backend_logical.h
storage_backend_mpath.c Check whether pools are already active upon libvirtd startup 2010-11-23 15:00:35 +00:00
storage_backend_mpath.h
storage_backend_scsi.c Improve SCSI volume name generation 2010-11-23 15:00:35 +00:00
storage_backend_scsi.h
storage_backend.c Add VIR_DIV_UP to divide memory or storage request sizes with round up 2011-01-29 00:42:10 +01:00
storage_backend.h Check whether pools are already active upon libvirtd startup 2010-11-23 15:00:35 +00:00
storage_driver.c Remove two unused PATH_MAX-sized char arrays from the stack 2011-01-18 23:14:37 +01:00
storage_driver.h