WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1 of 4] xen: interrupt remapping in HVM guests

On Mon, 30 Aug 2010, Jan Beulich wrote:
> >>> On 30.08.10 at 14:40, Stefano Stabellini 
> >>> <stefano.stabellini@xxxxxxxxxxxxx> 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)?
> >> 
> >  
> > 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.
 
I understand now, but I think I prefer to use a loop instead :)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel