[libvirt] [PATCH 0/4] remote: Refactor event dispatching code

Peter Krempa posted 4 patches 4 years, 6 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1571754965.git.pkrempa@redhat.com
src/admin/admin_server_dispatch.c   |   6 +-
src/remote/remote_daemon_dispatch.c | 381 ++++++----------------------
src/rpc/gendispatch.pl              |  19 +-
3 files changed, 88 insertions(+), 318 deletions(-)
[libvirt] [PATCH 0/4] remote: Refactor event dispatching code
Posted by Peter Krempa 4 years, 6 months ago
I'm going to add a new event soon so let's refactor the code I'll copy
it from.

Peter Krempa (4):
  remote: dispatch: Remove return value from make_nonnull_* helpers
  remote: Replace VIR_ALLOC_N with g_new0 in
    remoteRelayDomainEventGraphics
  remote: Use g_new0 to allocate 'remote_string' in event RPC handlers
  remote: Serialize typed parameters earlier

 src/admin/admin_server_dispatch.c   |   6 +-
 src/remote/remote_daemon_dispatch.c | 381 ++++++----------------------
 src/rpc/gendispatch.pl              |  19 +-
 3 files changed, 88 insertions(+), 318 deletions(-)

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list