]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
locking: relax PID requirement
authorJim Fehlig <jfehlig@suse.com>
Thu, 16 Apr 2015 17:32:42 +0000 (11:32 -0600)
committerJim Fehlig <jfehlig@suse.com>
Wed, 22 Apr 2015 20:16:44 +0000 (14:16 -0600)
commitee3eddb33258aab651a89389acacb088ab498d63
tree532a5322ce97edac2f99681f79def9e32a3fd5cc
parentfa19aca168804d7353a012e01009defd4da3a723
locking: relax PID requirement

Some hypervisors like Xen do not have PIDs associated with domains.
Relax the requirement for PID != 0 in the locking code so it can
be used by hypervisors that do not represent domains as a process
running on the host.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/locking/lock_daemon.c
src/locking/lock_daemon_dispatch.c
src/locking/lock_driver_lockd.c