From: Ian Jackson Subject: Re: [PATCH for-4.6 2/2] libxl: fix the cleanup of the backend path when using driver domains Date: Tue, 22 Sep 2015 17:45:30 +0100 Message-ID: <22017.34218.727473.940904@mariner.uk.xensource.com> References: <1442938993-94328-1-git-send-email-roger.pau@citrix.com> <1442938993-94328-3-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZeQhD-0000aF-Qj for xen-devel@lists.xenproject.org; Tue, 22 Sep 2015 16:45:35 +0000 In-Reply-To: <1442938993-94328-3-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: Alex Velazquez , xen-devel@lists.xenproject.org, Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[PATCH for-4.6 2/2] libxl: fix the cleanup of the = backend path when using driver domains"): > With the current libxl implementation the control domain will remove both > the frontend and the backend xenstore paths of a device that's handled by= a > driver domain. This is incorrect, since the driver domain possibly needs = to > access the backend path in order to perform the disconnection and cleanup= of > the device. > = > Fix this by making sure the control domain only cleans the frontend path, > leaving the backend path to be cleaned by the driver domain. Note that if > the device is not handled by a driver domain the control domain will perf= orm > the removal of both the frontend and the backend paths. > = > Signed-off-by: Roger Pau Monn=E9 > Reported-by: Alex Velazquez Acked-by: Ian Jackson I would like to have a second review before committing, and also we should wait for a release ack from Wei. Thanks, Ian.