From: Herv� Poussineau
RFC 1350 does not mention block count-roll over. However, a lot of TFTP servers
implement it to be able to transmit big files, so do it also
Signed-off-by: Herv� Poussineau
---
slirp/tftp.c |9 +
slirp/tftp.h |1 +
2 files changed, 6 insertions(+), 4 dele
These patches contain some fixes for the internal TFTP server.
With these patches, MS Windows PE can be booted via PXE.
slirp/tftp.c | 69 +
slirp/tftp.h |2 +
2 files changed, 51 insertions(+), 20 deletions(-)
From: Herv� Poussineau
When transfering a file, keep it open during the whole transfer,
instead of opening/closing it for each block.
Signed-off-by: Herv� Poussineau
---
slirp/tftp.c | 20
slirp/tftp.h |1 +
2 files changed, 13 insertions(+), 8 deletions(-)
diff --g
From: Herv� Poussineau
This option is described in RFC 1783. As this is only an optional field,
we may ignore it in some situations and handle it in some others.
Here, if client requests a block size bigger than the block size we emit
(512 bytes), accept the option with a value of 512
Signed-off
From: Herv� Poussineau
Signed-off-by: Herv� Poussineau
---
qemu-common.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu-common.h b/qemu-common.h
index 40dad52..18e648f 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -33,6 +33,7 @@ typedef struct DeviceState Dev
Win32 suffers from a very big memory leak when dealing with SCSI devices.
Each read/write request allocates memory with qemu_memalign (ie
VirtualAlloc) but frees it with qemu_free (ie free).
Pair all qemu_memalign() calls with qemu_vfree() to prevent such leaks.
Signed-off-by: Herve Poussineau
Replace %lld occurrences by PRId64.
Incidentally, this fixes use of curl on Windows, and prevents an assert
when closing Qemu.
Signed-off-by: Herve Poussineau
---
block/curl.c | 10 +-
block/qcow2.c |2 +-
hw/vga.c |2 +-
json-lexer.c
Toggle full screen on Win32/SDL 1.2.13 was broken by commit
c18a2c360e3100bbd71162cf922dcd8c429a8b71. Re-add the call to
do_sdl_resize() which was removed in this revision
Signed-off-by: Herve Poussineau
---
sdl.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sdl.c b