summaryrefslogtreecommitdiffstats
path: root/hw/net
diff options
context:
space:
mode:
authorVincenzo Maffione2014-02-20 15:40:43 +0100
committerStefan Hajnoczi2014-02-25 11:50:17 +0100
commit0a985b37272b563b1f8414431c6064eb1aa0c97b (patch)
tree442a77c617d4354e2f74e3f82c01df79342de376 /hw/net
parentnet: add offloading support to netmap backend (diff)
downloadqemu-0a985b37272b563b1f8414431c6064eb1aa0c97b.tar.gz
qemu-0a985b37272b563b1f8414431c6064eb1aa0c97b.tar.xz
qemu-0a985b37272b563b1f8414431c6064eb1aa0c97b.zip
net: Disable netmap backend when not supported
This patch fixes configure so that the netmap backend is not compiled in if the host doesn't support an API version >= 11. A version upper bound (15) has been added so that the netmap API can be extended with some minor features without requiring QEMU code modifications. Moreover, some changes have been done to net/netmap.c in order to reflect the current netmap API/ABI (11). The NETMAP_WITH_LIBS macro makes possible to include some utilities (e.g. netmap ring macros, D(), RD() and other high level functions) through the netmap headers. In this way we get rid of the D and RD macro definitions in the QEMU code, and we open the way for further code simplifications that will be introduced by future patches. Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions