From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNqRf-0006iY-LC for qemu-devel@nongnu.org; Tue, 29 Jul 2008 10:44:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNqRd-0006gQ-RH for qemu-devel@nongnu.org; Tue, 29 Jul 2008 10:44:59 -0400 Received: from [199.232.76.173] (port=47663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNqRd-0006gE-Ia for qemu-devel@nongnu.org; Tue, 29 Jul 2008 10:44:57 -0400 Received: from wr-out-0506.google.com ([64.233.184.237]:57331) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNqRd-0004ch-5S for qemu-devel@nongnu.org; Tue, 29 Jul 2008 10:44:57 -0400 Received: by wr-out-0506.google.com with SMTP id c46so4457470wra.18 for ; Tue, 29 Jul 2008 07:44:55 -0700 (PDT) Message-ID: <488F2CC0.7010702@codemonkey.ws> Date: Tue, 29 Jul 2008 09:44:16 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add IP checksuming functions to qemu. References: <488F2330.10303@redhat.com> In-Reply-To: <488F2330.10303@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Gerd Hoffmann wrote: > Hi folks, > > This patch adds IP checksumming functions to qemu, so not every nic > driver needs do to it on its own. > > cheers, > Gerd > > From 1070650dcedeb966fd9baf499c1f85488a1aa48c Mon Sep 17 00:00:00 2001 > From: Gerd Hoffmann > Date: Tue, 29 Jul 2008 13:25:12 +0200 > Subject: [PATCH 04/22] Add IP checksumming functions to qemu. > > > Signed-off-by: Gerd Hoffmann > --- > Makefile.target | 2 +- > net-checksum.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > net.h | 7 +++++ > 3 files changed, 77 insertions(+), 1 deletions(-) > create mode 100644 net-checksum.c > > diff --git a/Makefile.target b/Makefile.target > index ff105c1..42162c3 100644 > --- a/Makefile.target > +++ b/Makefile.target > @@ -472,7 +472,7 @@ endif #CONFIG_DARWIN_USER > # System emulator target > ifndef CONFIG_USER_ONLY > > -OBJS=vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o machine.o > +OBJS=vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o machine.o net-checksum.o > ifdef CONFIG_WIN32 > OBJS+=block-raw-win32.o > else > diff --git a/net-checksum.c b/net-checksum.c > new file mode 100644 > index 0000000..2aefae2 > --- /dev/null > +++ b/net-checksum.c > @@ -0,0 +1,69 @@ > Can you please add a license/copyright? Since QEMU is mixed licensed, it's important to have a license in every file. Regards, Anthony Liguori