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

From: Avi Kivity
Date: Tue May 05 2009 - 13:44:34 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/