libvirt/src/rpc
Cole Robinson 9b69f02243 rpc: daemon: Fix virtlog/virtlock daemon reload
Trying to reload/SIGUSR1 virtlogd or virtlockd fails with:

error : virNetDaemonRun:747 : internal error: Not all servers restored, cannot run server

Commit 252610f7 changed the daemon state json to allow tracking
multiple servers. However it missed clearing dmn->srvObject after
the json is empty, like the previous code paths handled.  Later on in
virNewDaemonRun, dmn->srvObject is expected to be empty otherwise we
throw the above error.

https://bugzilla.redhat.com/show_bug.cgi?id=1311013
2016-04-13 11:07:21 -04:00
..
gendispatch.pl gendispatch: Avoid comparing signed and unsigned vars 2016-03-24 10:49:39 +01:00
genprotocol.pl Add support for portable-rpcgen from portablexdr library 2015-07-08 14:34:38 +02:00
gensystemtap.pl build: predictably generate systemtap tapsets (bz 1173641) 2016-01-20 10:26:02 -05:00
virkeepalive.c client rpc: Report proper error for keepalive disconnections 2015-09-23 13:09:49 +02:00
virkeepalive.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkeepaliveprotocol.x Define keepalive protocol 2011-11-24 11:44:08 +01:00
virnetclient.c client rpc: Process pending data on error 2015-09-23 13:09:50 +02:00
virnetclient.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetclientprogram.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetclientprogram.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetclientstream.c Use VIR_DIV_UP macro where possible 2015-09-23 11:45:59 +02:00
virnetclientstream.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdaemon.c rpc: daemon: Fix virtlog/virtlock daemon reload 2016-04-13 11:07:21 -04:00
virnetdaemon.h Change virNetDaemonGetServerNames to virNetDaemonGetServers 2016-03-11 12:58:41 +01:00
virnetmessage.c Add RPC implementation for virDomainOpenGraphicsFd 2014-08-26 19:26:28 +02:00
virnetmessage.h Add RPC implementation for virDomainOpenGraphicsFd 2014-08-26 19:26:28 +02:00
virnetprotocol.x Unify int types handling in protocol files 2016-01-11 19:56:06 +03:00
virnetsaslcontext.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetsaslcontext.h build: workaround broken SASL header (again) 2016-03-31 17:36:49 +02:00
virnetserver.c server: Store server name in server object 2016-03-11 12:58:41 +01:00
virnetserver.h server: Store server name in server object 2016-03-11 12:58:41 +01:00
virnetserverclient.c rpc: Don't rewrite msg->fds on every read dispatch 2016-01-12 08:56:50 +01:00
virnetserverclient.h Include process start time when doing polkit checks 2013-05-08 10:47:45 +01:00
virnetservermdns.c mdns: Set error when failing due to missing avahi 2015-06-05 13:41:35 +02:00
virnetservermdns.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virnetserverprogram.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetserverprogram.h Move daemon-related parts of virNetServer to virNetDaemon 2015-06-16 13:46:19 +02:00
virnetserverservice.c virJSONValueArraySize: return ssize_t 2015-10-09 15:25:08 +02:00
virnetserverservice.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetsocket.c rpc: wait longer for session daemon to start up 2016-03-16 19:21:44 -04:00
virnetsocket.h rpc: add API for checking IPv4/6 availability 2015-06-11 12:11:18 +01:00
virnetsshsession.c build: add GCC 6.0 -Wlogical-op workaround 2016-04-11 12:09:14 +02:00
virnetsshsession.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnettlscontext.c security: fix DH key generation when FIPS mode is on 2014-09-04 11:56:36 +02:00
virnettlscontext.h Add APIs to get at more client security data 2013-03-19 13:11:46 +00:00