From: Ian Jackson Subject: Re: [PATCH v2 1/1] tools/hotplug: Scan xenstore once when attaching shared images files Date: Mon, 5 Oct 2015 17:38:39 +0100 Message-ID: <22034.42895.733068.21458@mariner.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mike Latimer Cc: wei.liu2@citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, George.Dunlap@eu.citrix.com, xen-devel@lists.xen.org, roger.pau@citrix.com List-Id: xen-devel@lists.xenproject.org Mike Latimer writes ("[PATCH v2 1/1] tools/hotplug: Scan xenstore once when attaching shared images files"): > During the attachment of a loopback mounted image file, the mode of all > curent instances of this device already attached to other domains must be > checked. This requires finding all loopback devices pointing to the inode > of the shared image file, and then comparing the major and minor number of > these devices to the major and minor number of every vbd device found in the > xenstore database. Thanks for the patch. Subject to Ian's observations about the doc comment it looks good to me. Ian.