[libvirt PATCH 0/9] src: misc cleanups related to remote protocol/client

Ján Tomko jtomko at redhat.com
Tue Jan 10 14:26:48 UTC 2023


On a Tuesday in 2023, Daniel P. Berrangé wrote:
>Just before xmas I did some work on an rpcgen replacement so
>we can use a non-sucky API instead of xdr_*. This short series
>has some general cleanups I found useful. The rpcgen code will
>come later.
>
>While this is all non-functional changes, I'm NOT proposing
>it for 9.0, it can safely wait as it isn't fixing any real
>bugs (that I've realized).
>
>Daniel P. Berrangé (9):
>  remote: remove redundant initialization of args variable
>  lxc: fix XDR protocol compliance
>  logging: remove redundant XDR typedef
>  rpc: use VIR_LOCK_GUARD in remote client code
>  remote: use VIR_LOCK_GUARD in client code
>  admin: use VIR_LOCK_GUARD in client code
>  rpc: use struct zero initializer instead of memset
>  remote: use struct zero initializer instead of memset
>  admin: use struct zero initializer instead of memset
>
> src/admin/admin_remote.c       |   92 +--
> src/logging/log_protocol.x     |    2 -
> src/lxc/lxc_monitor_protocol.x |    6 +-
> src/remote/remote_driver.c     | 1280 +++++++++-----------------------
> src/rpc/gendispatch.pl         |   18 +-
> 5 files changed, 397 insertions(+), 1001 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230110/e401d5f0/attachment.sig>


More information about the libvir-list mailing list