Messages in this thread | | | Date | Mon, 22 Jun 2009 17:28:37 +0300 | From | Avi Kivity <> | Subject | Re: [KVM PATCH v8 3/3] KVM: add iosignalfd support |
| |
On 06/22/2009 04:13 PM, Michael S. Tsirkin wrote: >> Right, understood. What I meant specifically is that if the (void*)val >> pointer is allowed to be misaligned we are in trouble ;). I haven't >> studied the implementation in front of the MMIO callback recently, but I >> generally doubt thats the case. More than likely this is some buffer >> that was kmalloced and that should already be aligned to the machine word. >> >> Kind Regards, >> -Greg >> >> > > Yes, from what I saw of the code I think it can be BUG_ON. > Avi? >
Yes, BUG_ON is safe here.
-- error compiling committee.c: too many arguments to function
| |