[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 9/9] configure: make virtio net dataplane configurab
From: |
Liu Ping Fan |
Subject: |
[Qemu-devel] [PATCH 9/9] configure: make virtio net dataplane configurable |
Date: |
Thu, 21 Feb 2013 20:54:53 +0800 |
From: Liu Ping Fan <address@hidden>
Signed-off-by: Liu Ping Fan <address@hidden>
---
configure | 12 ++++++++++++
hw/dataplane/Makefile.objs | 4 +++-
2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 837a84a..8d9c09b 100755
--- a/configure
+++ b/configure
@@ -224,6 +224,7 @@ coroutine=""
seccomp=""
glusterfs=""
virtio_blk_data_plane=""
+virtio_net_data_plane=""
# parse CC options first
for opt do
@@ -887,6 +888,10 @@ for opt do
;;
--enable-virtio-blk-data-plane) virtio_blk_data_plane="yes"
;;
+ --disable-virtio-net-data-plane) virtio_net_data_plane="no"
+ ;;
+ --enable-virtio-net-data-plane) virtio_net_data_plane="yes"
+ ;;
*) echo "ERROR: unknown option $opt"; show_help="yes"
;;
esac
@@ -3305,6 +3310,7 @@ echo "seccomp support $seccomp"
echo "coroutine backend $coroutine_backend"
echo "GlusterFS support $glusterfs"
echo "virtio-blk-data-plane $virtio_blk_data_plane"
+echo "virtio-net-data-plane $virtio_net_data_plane"
if test "$sdl_too_old" = "yes"; then
echo "-> Your SDL version is too old - please upgrade to have SDL support"
@@ -3653,9 +3659,15 @@ if test "$glusterfs" = "yes" ; then
fi
if test "$virtio_blk_data_plane" = "yes" ; then
+ echo "CONFIG_VIRTIO_DATA_PLANE=y" >> $config_host_mak
echo "CONFIG_VIRTIO_BLK_DATA_PLANE=y" >> $config_host_mak
fi
+if test "$virtio_net_data_plane" = "yes" ; then
+ echo "CONFIG_VIRTIO_DATA_PLANE=y" >> $config_host_mak
+ echo "CONFIG_VIRTIO_NET_DATA_PLANE=y" >> $config_host_mak
+fi
+
# USB host support
case "$usb" in
linux)
diff --git a/hw/dataplane/Makefile.objs b/hw/dataplane/Makefile.objs
index 3e47d05..7fa73bd 100644
--- a/hw/dataplane/Makefile.objs
+++ b/hw/dataplane/Makefile.objs
@@ -1 +1,3 @@
-obj-$(CONFIG_VIRTIO_BLK_DATA_PLANE) += hostmem.o vring.o event-poll.o ioq.o
virtio-blk.o
+obj-$(CONFIG_VIRTIO_DATA_PLANE) += hostmem.o vring.o event-poll.o
+obj-$(CONFIG_VIRTIO_BLK_DATA_PLANE) += virtio-blk.o ioq.o
+obj-$(CONFIG_VIRTIO_NET_DATA_PLANE) += virtio-net.o
--
1.7.4.4
- Re: [Qemu-devel] [PATCH 3/9] event poll: make epoll work for normal fd, (continued)
- [Qemu-devel] [PATCH 4/9] event poll: pass event type to event callback, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 5/9] event poll: enable event poll handle more than one event each time, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 6/9] virtio net: introduce dataplane for virtio net, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 7/9] tap: make tap peer work on dedicated data-plane thread, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 8/9] virtio net: enable dataplane for virtio net, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 9/9] configure: make virtio net dataplane configurable,
Liu Ping Fan <=
- [Qemu-devel] [PATCH 1/9] vring: split the modification and publish of used ring, Liu Ping Fan, 2013/02/21
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Michael S. Tsirkin, 2013/02/21
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Anthony Liguori, 2013/02/21
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Michael S. Tsirkin, 2013/02/21
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Anthony Liguori, 2013/02/21
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Michael S. Tsirkin, 2013/02/21
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Michael S. Tsirkin, 2013/02/28
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Michael S. Tsirkin, 2013/02/21
- Re: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, liu ping fan, 2013/02/27