From: "Jan Beulich" Subject: Re: [PATCH v7 4/9] ioreq-server: on-demand creation of ioreq server Date: Fri, 09 May 2014 14:12:53 +0100 Message-ID: <536CF0750200007800010F28@mail.emea.novell.com> References: <1399624804-5109-1-git-send-email-paul.durrant@citrix.com> <1399624804-5109-5-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1399624804-5109-5-git-send-email-paul.durrant@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: Keir Fraser , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 09.05.14 at 10:39, wrote: > This patch only creates the ioreq server when the legacy HVM parameters > are read (by an emulator). > > A lock is introduced to protect access to the ioreq server by multiple > emulator/tool invocations should such an eventuality arise. The guest is > protected by creation of the ioreq server only being done whilst the > domain is paused. > > Signed-off-by: Paul Durrant Acked-by: Jan Beulich (hesitantly, due to the various not really warranted uses of goto)