]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virnetdev: Check for defined IFLA_VF_*
authorPhilipp Hahn <hahn@univention.de>
Fri, 13 Apr 2012 13:43:58 +0000 (15:43 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 13 Apr 2012 19:15:22 +0000 (21:15 +0200)
commitd7451bddc55eabbe2c7a9070312ab3920cb93200
treefc1cbef9aab43564aaea188e3fca84c08a684bd4
parent1ce159c1c9427cdfe4696673101f2195badd82dd
virnetdev: Check for defined IFLA_VF_*

The linux-2.6.32 kernel header does not yet define IFLA_VF_MAX and others,
which breaks compiling a new libvirt on old systems like Debian Squeeze.

(I also have to add --without-macvtap --disable-werror --without-virtualport to
 ./configure to get it to compile.)

Signed-off-by: Philipp Hahn <hahn@univention.de>
src/util/virnetdev.c