On 01/19/2011 12:40 PM, Matthias Bolte wrote: > I wonder in which direction to go in order to unify this: being more > strict and do "value % 1024 == 0" checks all over the place, or being > less strict and just divide by 1024.
See also this bug report, where the request was made to round up to the next integral block size rather than truncate or error out (regardless of granularity of block size): https://bugzilla.redhat.com/show_bug.cgi?id=670529 since storage management and volume creation is closely related to memory sizes in that both suffer from block-sized granularity. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list