Re: [PATCH 03/10] list: Implement the RPC calls for virConnectListAllStoragePools

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

 



On 09/04/2012 05:48 PM, Eric Blake wrote:
> On 09/04/2012 09:16 AM, Osier Yang wrote:
>> The RPC generator doesn't support returning list of object, this patch do
> 
> s/patch do/patch does/
> 
>> the work manually.
>>
> 
>> @@ -5612,6 +5675,7 @@ static virStorageDriver storage_driver = {
>>      .listPools = remoteListStoragePools, /* 0.4.1 */
>>      .numOfDefinedPools = remoteNumOfDefinedStoragePools, /* 0.4.1 */
>>      .listDefinedPools = remoteListDefinedStoragePools, /* 0.4.1 */
>> +    .listAllPools = remoteConnectListAllStoragePools, /* 0.10.0 */
> 
> 0.10.2.
> 
> ACK with that change.

Correction; one other change is also necessary:

--- remote_protocol-structs	2012-09-04 18:06:02.780444947 -0600
+++ remote_protocol-struct-t3	2012-09-04 18:06:40.975481943 -0600
@@ -2018,7 +2018,7 @@
 struct remote_connect_list_all_storage_pools_ret {
         struct {
                 u_int              pools_len;
-                remote_nonnull_domain * pools_val;
+                remote_nonnull_storage_pool * pools_val;
         } pools;
         u_int                      ret;
 };

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]