Paul Durrant writes ("[PATCH v4 3/7] libxl: generalise
libxl__domain_userdata_lock()"):
> This function implements a file-based lock with a file name generated
> from a domid.
>
> This patch splits it into two, generalising the core of the locking code
> into a new libxl__lock_file() function
This function implements a file-based lock with a file name generated
from a domid.
This patch splits it into two, generalising the core of the locking code
into a new libxl__lock_file() function which operates on a specified file,
leaving just the file name generation in