libxl: Rename ev_devlock to ev_slowlock
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 18 Nov 2019 17:13:04 +0000 (17:13 +0000)
committerWei Liu <wl@xen.org>
Mon, 18 Nov 2019 22:58:35 +0000 (22:58 +0000)
commit5f7e950d58be59121df7c48cfbb187096d799d29
treeb5b528db965fb0d5c00587286b857cbbe7965006
parente7c32024789351bd47547d8c56464fe4ec6a2028
libxl: Rename ev_devlock to ev_slowlock

We are going to introduce a different lock based on the same
implementation as the ev_devlock but with a different path. The
different slowlock will be differentiated by calling different _init()
functions.

So we rename libxl__ev_devlock to lib__ev_slowlock, but keep
libxl__ev_devlock_init().

Some log messages produced ev_slowlock are changed to print the
name of the lock file (userdata_userid).

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/libxl/libxl_disk.c
tools/libxl/libxl_domain.c
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h