[virt-tools-list] [libosinfo] Constant for Kibibytes

Daniel P. Berrange berrange at redhat.com
Tue Sep 27 08:53:09 UTC 2011


On Mon, Sep 26, 2011 at 09:21:38PM +0300, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> ---
>  osinfo/osinfo_resources.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/osinfo/osinfo_resources.h b/osinfo/osinfo_resources.h
> index cf2571d..7f8767e 100644
> --- a/osinfo/osinfo_resources.h
> +++ b/osinfo/osinfo_resources.h
> @@ -32,6 +32,7 @@
>  
>  #define OSINFO_ARCHITECTURE_ALL "all"
>  #define OSINFO_MEGAHERTZ        1000000
> +#define OSINFO_KIBIBYTES        1024
>  #define OSINFO_MEBIBYTES        1048576
>  #define OSINFO_GIBIBYTES        1073741824
>  

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list