From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Xenstore.h clarifications Date: Thu, 27 Nov 2014 12:51:46 +0200 Message-ID: <54770242.9000709@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Hello, I know that xc_interface_open() can be safely called several times from the same process, and that several processes can each have a bunch of xc_interface handles open, and that I shouldn't use an xc_interface inherited from the parent in a child process, because xenctrl.h says so. Is it safe to assume that the same restrictions / conventions apply to xs_handles obtained via xs_open()? Xenstore.h is not explicit. Looking at the code, it would seem safe to assume that it can be used in a similar manner, but it would be nice to have this confirmed if possible. Thanks, Razvan