[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 13/14] Increase maximum number of session of the in
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 13/14] Increase maximum number of session of the internal TFTP server. |
Date: |
Tue, 24 Jun 2014 20:09:19 +0400 |
From: Bernhard Übelacker <address@hidden>
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 Übelacker <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
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
-#define TFTP_SESSIONS_MAX 3
+#define TFTP_SESSIONS_MAX 20
#define TFTP_SERVER 69
--
1.7.10.4
- [Qemu-trivial] [PULL 00/14] Trivial patches for 2014-06-24, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 06/14] block.c: Remove useless 'buf' variable, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 02/14] Fix new typos (found by codespell), Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 01/14] virtio-serial: remove useless set_config function, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 07/14] rng-random: NULL check not needed before g_free(), Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 03/14] configure: Enable TPM by default, add --disable-tpm, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 14/14] Add support for the arm breakpoint syscall, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 12/14] target-s390x: Remove unused ld_code6() function, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 08/14] tcg: mark tcg_out* and tcg_patch* with attribute 'unused', Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 13/14] Increase maximum number of session of the internal TFTP server.,
Michael Tokarev <=
- [Qemu-trivial] [PULL 10/14] target-unicore: Remove unused functions, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 05/14] vscclient: Add required headers to fix build on FreeBSD, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 09/14] build-sys: introduce install-prog macro to install&strip binaries and use it, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 04/14] target-ppc: Fix compiler warning, Michael Tokarev, 2014/06/24
- [Qemu-trivial] [PULL 11/14] hw/moxie/moxiesim.c: Remove unused moxie_intc_create(), Michael Tokarev, 2014/06/24
- Re: [Qemu-trivial] [Qemu-devel] [PULL 00/14] Trivial patches for 2014-06-24, Peter Maydell, 2014/06/24