qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] tftp server, second try


From: Magnus Damm
Subject: [Qemu-devel] [PATCH] tftp server, second try
Date: Sun, 15 Aug 2004 20:52:32 +0200

Hi again,

Attached is a patch that adds a tftp server to the slirp networking
code, ie the patch makes it possible for the guest to read files from
the host if the user network implementation enabled with -user-net.

This is the second try, the first patch contained a fatal bug that did
not show on my PowerPC box (misplaced parenthesis, aargh) - I recently
tried the code on a x86 box and realized that all read requests were
treated as access violations... Sorry about that. Please try this patch
instead, it has been tested on CVS today and 0.60.0 under Linux/PPC and
0.60.0 under Linux/x86. This patch applies both to CVS and 0.60.0.

The option -tftp is used to tell the tftp server which files that should
be exported as read only data. Default is no exports, "-tftp /" will
make all files on your host available to your guest. The tftp server
only accepts absolute filenames, no relative paths are allowed.

If someone wants to test the code I would be happy to hand over a
precompiled x86 image containing a tftp client useful for testing.

Thanks.

/ magnus

Attachment: qemu-0.6.0-tftp_20040815.patch
Description: Text Data


reply via email to

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