Re: [Xen-devel] [PATCH v4 3/7] libxl: generalise libxl__domain_userdata_lock()

2020-01-30 Thread Ian Jackson
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

[Xen-devel] [PATCH v4 3/7] libxl: generalise libxl__domain_userdata_lock()

2020-01-22 Thread Paul Durrant
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