Re: [libvirt] [PATCH] Storage Pool and Volumes are converted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 25, 2009 at 08:02:13AM -0400, Bryan Kearney wrote:
> ---
>  src/org/libvirt/jna/StoragePoolPointer.java |    7 +++++++
>  src/org/libvirt/jna/StorageVolPointer.java  |    7 +++++++
>  src/org/libvirt/jna/virStoragePoolInfo.java |   11 +++++++++++
>  src/org/libvirt/jna/virStorageVolInfo.java  |   11 +++++++++++
>  4 files changed, 36 insertions(+), 0 deletions(-)
>  create mode 100644 src/org/libvirt/jna/StoragePoolPointer.java
>  create mode 100644 src/org/libvirt/jna/StorageVolPointer.java
>  create mode 100644 src/org/libvirt/jna/virStoragePoolInfo.java
>  create mode 100644 src/org/libvirt/jna/virStorageVolInfo.java

> +++ b/src/org/libvirt/jna/virStoragePoolInfo.java
> @@ -0,0 +1,11 @@
> +package org.libvirt.jna;
> +
> +import com.sun.jna.Structure;
> +
> +public class virStoragePoolInfo extends Structure
> +{
> +    public int state ;
> +    public long capacity ;
> +    public long allocation ;
> +    public long available ;

  Same long long -> long question, also the original is unsigned, maybe
it should be kept that way

> +}
> diff --git a/src/org/libvirt/jna/virStorageVolInfo.java b/src/org/libvirt/jna/virStorageVolInfo.java
> new file mode 100644
> index 0000000..598f28a
> --- /dev/null
> +++ b/src/org/libvirt/jna/virStorageVolInfo.java
> @@ -0,0 +1,11 @@
> +package org.libvirt.jna;
> +
> +import com.sun.jna.Structure;
> +
> +public class virStorageVolInfo extends Structure
> +{
> +    public int type ;
> +    public long capacity ;
> +    public long allocation ;

  And same, otherwise trivial, ACK

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]