Received: from eggs.gnu.org ([2001:4830:134:3::10]:56145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTRP-0007Zp-1H for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzTRH-0001P7-GW for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:19:26 -0400 From: Michael Tokarev Date: Tue, 24 Jun 2014 20:09:19 +0400 Message-Id: <1403626160-15546-14-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1403626160-15546-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1403626160-15546-1-git-send-email-mjt@msgid.tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 13/14] Increase maximum number of session of the internal TFTP server. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= , Michael Tokarev From: Bernhard =C3=9Cbelacker Grub fails to boot from internal TFTP server when loading more than 3 initrd files. Grub first opens a session to the TFTP server for every initrd file and retrieves only the file size for all. Then it wants to download the content using the old sessions which are already expired. Increasing the maximum number of session of the internal TFTP server avoids this issue. The error message reads as following: error: timeout reading `/boot/ISO.ROOT/BOOTMGR'. Press any key to continue... Signed-off-by: Bernhard =C3=9Cbelacker Signed-off-by: Michael Tokarev --- slirp/tftp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slirp/tftp.h b/slirp/tftp.h index 87adeb5..e1cc24b 100644 --- a/slirp/tftp.h +++ b/slirp/tftp.h @@ -2,7 +2,7 @@ #ifndef SLIRP_TFTP_H #define SLIRP_TFTP_H 1 =20 -#define TFTP_SESSIONS_MAX 3 +#define TFTP_SESSIONS_MAX 20 =20 #define TFTP_SERVER 69 =20 --=20 1.7.10.4