Re: [PATCH 1/1] kvm: qemu: Handle tap fds with IFF_VNET_HDR

Avi Kivity
2008-08-13T16:24:32Z

Mark McLoughlin wrote:
> Okay, I've just sent a patch to add TUNGETIFF:
>
> http://marc.info/?l=linux-netdev&m=121863813904363
>
> See below patch for how we'd use it. Don't apply this until the kernel
> patch is accepted, obviously.
>
>

Please repost once that's in.

> The -help string is what libvirt would use to detect whether qemu has
> support for this; clearly libvirt would also need to detect the
> availability of TUNGETIFF in the running kernel.
>
>

Neat trick. It would be nice to have a formal qemu capabilities query,
like we have for kvm (and a proper forwards and backwards compatible
qemu monitor protocol, and...)

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