]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
list: Implement the RPC calls for virConnectListAllStoragePools
authorOsier Yang <jyang@redhat.com>
Tue, 4 Sep 2012 15:16:26 +0000 (23:16 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 6 Sep 2012 14:02:04 +0000 (22:02 +0800)
commit17fd00888a4c3f60c547589cd6f1e44159028c37
tree10bfcb7f378d89c8c94787ed73364ed851fda5c4
parent84208a4a8ba00f2a9317675925d25835751b6488
list: Implement the RPC calls for virConnectListAllStoragePools

The RPC generator doesn't support returning list of object, this patch does
the work manually.

  * daemon/remote.c:
    Implement the server side handler remoteDispatchConnectListAllStoragePools

  * src/remote/remote_driver.c:
    Add remote driver handler remoteConnectListAllStoragePools.

  * src/remote/remote_protocol.x:
    New RPC procedure REMOTE_PROC_CONNECT_LIST_ALL_STORAGE_POOLS and
    structs to represent the args and ret for it.

  * src/remote_protocol-structs: Likewise.
daemon/remote.c
src/remote/remote_driver.c
src/remote/remote_protocol.x
src/remote_protocol-structs