Subject: Re: user space virtio-net exits with "truncating packet" error

From: Avi Kivity <[email-masked]>
Date: Tue, 19 May 2009 13:13:07 +0300

Or Gerlitz wrote:
>> One solution to this is just to copy that file from kernel-2.6.29.  Or
>> maybe it's easier to add some -I flags to kvm compile commandline.
>>     
>
> This would not be enough since it needs also the virtio_net header and I'm not clear what version, the kernel one  on the one that comes with qemu... Now, all this comes into play only with the qemu provided by kvm releases since the savannah one doesn't have the code that uses TUNSETOFFLOAD, IFF_VNET_HDR etc.
>
> Avi - do you guys have some writeup / guidelines how to make all this work?
>  

Modern distros have this sewn up correctly.  For example my desktop runs 
kernel-2.6.27.21-170.2.56.fc10.x86_64, and has matching headers from 
kernel-headers-2.6.27.21-170.2.56.fc10.x86_64.

What are you using?

-- 
error compiling committee.c: too many arguments to function