[PATCH v3 0/8 RESEND] add close callback for drivers with persistent connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rebase on master.

Currently close callback API can only inform us of closing the connection
between remote driver and daemon. But what if a driver running in the
daemon itself can have another persistent connection? In this case
we want to be informed of that connection changes state too.

This patch series extends meaning of current close callback API so
that now it notifies of closing of any internal persistent connection.
The overall approach is to move close callback support to drivers.

Changes from v2:
Split patches further to make it more comprehensible.


Nikolay Shirokovskiy (8):
  factor out virConnectCloseCallbackDataPtr methods
  virConnectCloseCallbackData: fix connection object refcount
  virConnectCloseCallbackData: factor out callback disarming
  close callback API: remove unnecessary locks
  virConnectCloseCallbackDataDispose: remove unnecessary locks
  close callback: move it to driver
  daemon: add connection close rpc
  vz: implement connection close notification

 daemon/libvirtd.h            |   1 +
 daemon/remote.c              |  84 ++++++++++++++++++++++++++++++++
 po/POTFILES.in               |   1 +
 src/datatypes.c              | 113 +++++++++++++++++++++++++++++++++----------
 src/datatypes.h              |  11 +++++
 src/driver-hypervisor.h      |  12 +++++
 src/libvirt-host.c           |  46 ++----------------
 src/remote/remote_driver.c   | 106 ++++++++++++++++++++++++++++++++--------
 src/remote/remote_protocol.x |  24 ++++++++-
 src/remote_protocol-structs  |   6 +++
 src/vz/vz_driver.c           |  39 +++++++++++++++
 src/vz/vz_sdk.c              |   4 ++
 src/vz/vz_utils.h            |   3 ++
 13 files changed, 363 insertions(+), 87 deletions(-)

-- 
1.8.3.1

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]