[Libvirt-cim] [PATCH] Make BlockSize * NumberOfBlocks result in the correct number of bytes

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri May 9 17:24:08 UTC 2008


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1210266649 25200
> # Node ID 7d8223bceaf3206b13443db42e95d9e505ce5ff7
> # Parent  c2465f3f0a2472a45f90707ce9653ad2c59bb50b
> Make BlockSize * NumberOfBlocks result in the correct number of bytes
> 
> Currently it adds up to kilobytes, so shift the size we get from libvirt
> appropriately before doing the calculation.
> 
> Signed-off-by: Dan Smith <danms at us.ibm.com>
> 
> diff -r c2465f3f0a24 -r 7d8223bceaf3 src/Virt_Device.c

+1
-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list