[libvirt] [PATCH] virnetdev: fix build with old kernel

Ján Tomko jtomko at redhat.com
Wed Mar 11 09:24:07 UTC 2015


On Wed, Mar 11, 2015 at 09:42:45AM +0100, Pavel Hrdina wrote:
> Commit c9027d8f added a detection of NIC HW features, but some of them
> are not available in old kernel.  Very old kernels lack enum
> ethtool_flags and even if this enum is present, not all values are
> available for all kernels.  To be sure that we have everything in kernel
> that we need, we must check for existence of newest value which is
> ETH_FLAG_TXVLAN.  Only then we can be sure that the feature detection
> can be successfully built.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  configure.ac         | 6 ++++++
>  src/util/virnetdev.c | 6 ++++--
>  2 files changed, 10 insertions(+), 2 deletions(-)

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150311/f93406ba/attachment-0001.sig>


More information about the libvir-list mailing list