Re: [KVM PATCH v4 2/2] kvm: add support for irqfd via eventfd-notification interface

Avi Kivity
2009-05-05T17:44:32Z

Gregory Haskins wrote:
>>>
>>> +struct kvm_irqfd {
>>> + __u32 gsi;
>>> + __u32 flags;
>>> +};
>>> +
>>>
>>>
>> Please add some reserved space here.
>>
>
> Ack. Any rule of thumb here? How about a "__u8 pad[16]" ?
>

I'd round it up so the whole thing is 32 bytes (not that it matters).

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.