From: "Jan Beulich" Subject: Re: [PATCH 1 of 4] xen: interrupt remapping in HVM guests Date: Mon, 30 Aug 2010 13:59:54 +0100 Message-ID: <4C7BC76A0200007800012D78@vpn.id2.novell.com> References: <1283167504-7787-1-git-send-email-stefano.stabellini@eu.citrix.com> <4C7BBD210200007800012D3E@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 30.08.10 at 14:40, Stefano Stabellini wrote: > On Mon, 30 Aug 2010, Jan Beulich wrote: >> Additionally, shouldn't you add a build time check making sure >> that IRQ_UNBOUND is actually suitable for initialization via >> memset() (or alternatively use a loop)? >>=20 > =20 > something like typeof? No, something that makes sure all bytes of the int are identical (since of the int you pass to memset() only the low 8 bits actually get used). For the moment, checking the value is either 0 or -1 would probably do. Jan