qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Add IP checksuming functions to qemu.


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Add IP checksuming functions to qemu.
Date: Tue, 29 Jul 2008 09:44:16 -0500
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

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 <address@hidden>
Date: Tue, 29 Jul 2008 13:25:12 +0200
Subject: [PATCH 04/22] Add IP checksumming functions to qemu.


Signed-off-by: Gerd Hoffmann <address@hidden>
---
 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]