libvirt/src/locking
Martin Kletzander a8743c3938 rpc: Remove keepalive_required option
Since its introduction in 2011 (particularly in commit f4324e3292),
the option doesn't work.  It just effectively disables all incoming
connections.  That's because the client private data that contain the
'keepalive_supported' boolean, are initialized to zeroes so the bool is
false and the only other place where the bool is used is when checking
whether the client supports keepalive.  Thus, according to the server,
no client supports keepalive.

Removing this instead of fixing it is better because a) apparently
nobody ever tried it since 2011 (4 years without one month) and b) we
cannot know whether the client supports keepalive until we get a ping or
pong keepalive packet.  And that won't happen until after we dispatched
the ConnectOpen call.

Another two reasons would be c) the keepalive_required was tracked on
the server level, but keepalive_supported was in private data of the
client as well as the check that was made in the remote layer, thus
making all other instances of virNetServer miss this feature unless they
all implemented it for themselves and d) we can always add it back in
case there is a request and a use-case for it.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2015-08-10 13:15:56 +02:00
..
domain_lock.c sanlock: Don't spam logs with "target pid not found" 2015-03-09 13:36:40 +01:00
domain_lock.h locking: Add APIs to lock individual image files 2014-07-09 10:38:56 +02:00
libvirt_lockd.aug
libvirt_sanlock.aug
lock_daemon_config.c Move daemon-related parts of virNetServer to virNetDaemon 2015-06-16 13:46:19 +02:00
lock_daemon_config.h Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
lock_daemon_dispatch.c Move daemon-related parts of virNetServer to virNetDaemon 2015-06-16 13:46:19 +02:00
lock_daemon_dispatch.h
lock_daemon.c rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
lock_daemon.h
lock_driver_lockd.c locking: relax PID requirement 2015-04-22 14:16:44 -06:00
lock_driver_nop.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
lock_driver_nop.h
lock_driver_sanlock.c sanlock: Use VIR_ERR_RESOURCE_BUSY if sanlock_acquire fails 2015-04-15 09:40:42 +02:00
lock_driver.h sanlock: Don't spam logs with "target pid not found" 2015-03-09 13:36:40 +01:00
lock_manager.c sanlock: Don't spam logs with "target pid not found" 2015-03-09 13:36:40 +01:00
lock_manager.h Use virFileFindResource to locate lock manager plugins 2014-04-25 11:59:46 +01:00
lock_protocol.x Fix typos in src/* 2014-04-21 16:49:08 -06:00
lockd.conf Remove unnecessary empty first lines 2014-06-06 10:52:05 +02:00
sanlock_helper.c Replace virDomainFree with virObjectUnref 2014-12-02 11:03:40 -05:00
sanlock.conf Remove unnecessary empty first lines 2014-06-06 10:52:05 +02:00
test_libvirt_lockd.aug.in
test_libvirt_sanlock.aug.in
test_virtlockd.aug.in test_virtlockd.aug.in: Use the correct file 2013-09-03 17:03:30 +02:00
virtlockd.aug Process virtlockd.conf instead of libvirtd.conf 2013-08-30 17:37:12 +02:00
virtlockd.conf Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
virtlockd.init.in virtlockd: improve initscripts 2013-12-10 12:02:37 +01:00
virtlockd.pod.in Revert "virtlockd: treat SIGHUP like SIGUSR1" 2013-12-10 15:49:06 +01:00
virtlockd.service.in Add Documentation fields to systemd service files 2014-01-09 09:32:55 +01:00
virtlockd.socket.in virtlockd: improve systemd units 2013-12-10 12:02:37 +01:00
virtlockd.sysconf