Re: [libvirt] [rust PATCH] Add list_all_volumes method for storage_pool::StoragePool

2019-08-29 Thread Sage Imel
This was copied and barely modified from the implementation of connect::Connect::list_all_storage_pools -- Sage Imel Maseeh College of Engineering and Computer Science Computer Action Team On Thu, Aug 29, 2019 at 2:05 AM Sage Imel wrote: > From: Sage Imel > > Always returns the

[libvirt] [rust PATCH] Add list_all_volumes method for storage_pool::StoragePool

2019-08-29 Thread Sage Imel
From: Sage Imel Always returns the full list of volumes, can't just ask it how many volumes are in the pool Signed-off-by: Sage Imel --- src/storage_pool.rs | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/storage_pool.rs

Re: [libvirt] [PATCH] virDomainGetAutostart takes a pointer that it writes the output value to

2019-08-21 Thread Sage Imel
No objection, thanks for catching that. -- Sage Imel Lead Linux/Unix System Administrator Maseeh College of Engineering and Computer Science Computer Action Team supp...@cat.pdx.edu - (503) 725-5420 On Wed, Aug 21, 2019 at 3:27 AM Daniel P. Berrangé wrote: > On Thu, Aug 15, 2019 at 02

[libvirt] [PATCH] virDomainGetAutostart takes a pointer that it writes the output value to

2019-08-16 Thread Sage Imel
--- src/domain.rs | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/domain.rs b/src/domain.rs index 11ecb3c..acb9e6e 100644 --- a/src/domain.rs +++ b/src/domain.rs @@ -136,7 +136,7 @@ extern "C" { fn virDomainGetHostname(ptr: sys::virDomainPtr, flags: libc::c_uint

[libvirt] [PATCH] virDomainGetAutostart takes a pointer that it writes the output value to

2019-08-15 Thread Sage Imel
The current version of get_autostart seg faults. This patch correctly passes a pointer to an int to virDomainGetAutostart and returns a result based on the value of that int Signed-off-by: sage Imel --- src/domain.rs | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src