[libvirt] [PATCH v4 0/2] daemon: fix termination/reload issues
jferlan at redhat.com
Fri Oct 27 05:26:10 UTC 2017
This is a repost/fixup of Nikolay's v3:
The primary difference here is a reorder of the patches to perform
the proper refcnt operations before reordering the shutdown path in
order to clean up servers out of the hash table sooner than later.
In particular, the lock_manager sequencing in order to make sure that
the virObjectUnref is done "orderly".
Nikolay - if you're fine with these changes let me know and I can
then push them (unless of course someone else ACK's before that).
Hopefully the change to lock_daemon makes sense.
Theoretically spaking the virHashFree in virNetDaemonDispose is
probably now superfluous since patch 2/2 will remove all the servers
much sooner, but let's keep it there just to be safe!
Nikolay Shirokovskiy (2):
rpc: When adding srv to dmn servers, need to add ref
libvirtd: fix crash on termination
src/locking/lock_daemon.c | 19 ++++++++++++++-----
src/rpc/virnetdaemon.c | 4 ++++
2 files changed, 18 insertions(+), 5 deletions(-)
More information about the libvir-list