|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 1 of 4] xen: interrupt remapping in HVM guests
>>> 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.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|