Received: from [140.186.70.92] (port=37539 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYOZH-0001eL-Pd for qemu-devel@nongnu.org; Mon, 12 Jul 2010 15:21:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYOZG-0003sa-Hy for qemu-devel@nongnu.org; Mon, 12 Jul 2010 15:21:31 -0400 Received: from mail-gy0-f173.google.com ([209.85.160.173]:44975) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYOZG-0003rP-Fj for qemu-devel@nongnu.org; Mon, 12 Jul 2010 15:21:30 -0400 Received: by mail-gy0-f173.google.com with SMTP id 2so2918762gyf.4 for ; Mon, 12 Jul 2010 12:21:30 -0700 (PDT) From: Miguel Di Ciurcio Filho Date: Mon, 12 Jul 2010 16:20:48 -0300 Message-Id: <1278962453-15774-4-git-send-email-miguel.filho@gmail.com> In-Reply-To: <1278962453-15774-1-git-send-email-miguel.filho@gmail.com> References: <1278962453-15774-1-git-send-email-miguel.filho@gmail.com> Subject: [Qemu-devel] [PATCH 3/8] vlan cleanup: do not depend on socket and dump List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Miguel Di Ciurcio Filho , avi@redhat.com --- net.c | 42 ------------------------------------------ 1 files changed, 0 insertions(+), 42 deletions(-) diff --git a/net.c b/net.c index 8ddf872..addd167 100644 --- a/net.c +++ b/net.c @@ -26,8 +26,6 @@ #include "config-host.h" #include "net/tap.h" -#include "net/socket.h" -#include "net/dump.h" #include "net/slirp.h" #include "net/vde.h" #include "net/util.h" @@ -988,30 +986,6 @@ static const struct { #endif /* _WIN32 */ { /* end of list */ } }, - }, { - .type = "socket", - .init = net_init_socket, - .desc = { - NET_COMMON_PARAMS_DESC, - { - .name = "fd", - .type = QEMU_OPT_STRING, - .help = "file descriptor of an already opened socket", - }, { - .name = "listen", - .type = QEMU_OPT_STRING, - .help = "port number, and optional hostname, to listen on", - }, { - .name = "connect", - .type = QEMU_OPT_STRING, - .help = "port number, and optional hostname, to connect to", - }, { - .name = "mcast", - .type = QEMU_OPT_STRING, - .help = "UDP multicast address and port number", - }, - { /* end of list */ } - }, #ifdef CONFIG_VDE }, { .type = "vde", @@ -1038,22 +1012,6 @@ static const struct { { /* end of list */ } }, #endif - }, { - .type = "dump", - .init = net_init_dump, - .desc = { - NET_COMMON_PARAMS_DESC, - { - .name = "len", - .type = QEMU_OPT_SIZE, - .help = "per-packet size limit (64k default)", - }, { - .name = "file", - .type = QEMU_OPT_STRING, - .help = "dump file path (default is qemu-vlan0.pcap)", - }, - { /* end of list */ } - }, }, { /* end of list */ } }; -- 1.7.1