[libvirt] [PATCH] remote generator: Handle some virTypedParameterPtr using functions

Eric Blake eblake at redhat.com
Tue May 31 21:28:28 UTC 2011


On 05/30/2011 12:34 PM, Matthias Bolte wrote:
> This doesn't cover the getters that allow to query nparams yet.
> ---
> 
> This patch depends on
> 
> https://www.redhat.com/archives/libvir-list/2011-May/msg01856.html
> 
>  daemon/remote.c              |  182 -----------------------------------
>  daemon/remote_generator.pl   |   58 +++++++++++-
>  src/remote/remote_driver.c   |  215 ------------------------------------------
>  src/remote/remote_protocol.x |   20 ++--
>  4 files changed, 67 insertions(+), 408 deletions(-)

Nice reduction in maintained code size!

I got conflicts when trying this patch out, though, so you may have some
rebase issues, but I think I resolved it correctly, and was able to
verify that with this applied, the generated functions accurately
replace the manual versions.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110531/3fe169fa/attachment-0001.sig>


More information about the libvir-list mailing list