summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/1957
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
commit3e4c5a6261770bced301b5e74233e7866166ea5b (patch)
tree9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_missing/host_missing/accel_missing/1957
parente5634e2806195bee44407853c4bf8776f7abfa4f (diff)
downloadqemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz
qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/1957')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/195720
1 files changed, 0 insertions, 20 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/1957 b/gitlab/issues_text/target_missing/host_missing/accel_missing/1957
deleted file mode 100644
index ea997db39..000000000
--- a/gitlab/issues_text/target_missing/host_missing/accel_missing/1957
+++ /dev/null
@@ -1,20 +0,0 @@
-Reading files failed from QEMU TFTP server
-Description of problem:
-QEMU TFTP server on Linux is sensitive to the filename delimiters:
-
-After building QEMU UEFI firmware with the entire NetworkPkg stack and booting to UEFI shell, one can use `tftp` command to read files from the QEMU TFTP server specified during QEMU launching. i.e. `tftp 10.0.2.2 Boot\BCD`. However, when setting up the TFTP folder to be exactly the same (Linux and Windows), the result for running this command is different. On Windows host, this tftp command from emulated UEFI shell will proceed properly. But on Linux host, this will fail with "File Not Found".
-
-The issue seems to be around the slirp engine used by QEMU: the received packet will hand off to slirp as is, which leads to a host specific libc implementation of "open" function call: https://git.launchpad.net/ubuntu/+source/libslirp/tree/src/tftp.c#n113. Thus the server result would be different when the host is different.
-
-This will cause the PXE boot to fail when setting up the PXE folder on through QEMU on Linux because Windows will attempt to read BCD file at the same directory of the initial boot file, with a `\` in between.
-
-As TFTP protocol seems to be folder agnostic (just file names), in this case, should the TFTP server (QEMU here) handle the path normalization to make sure the file lookup to go through? Otherwise, Windows PXE boot on QEMU Linux host will always fail.
-
-Any suggestion here? Thanks in advance!
-Steps to reproduce:
-1. Build OVMF UEFI with full network stack
-2. Launch QEMU with the built UEFI with nic enabled, boot to UEFI shell.
-3. Invoke `tftp 10.0.2.2 Boot\BCD` from UEFI shell.
-4. When performing step 1-3 on Windows, this will succeed. But on Linux, this will fail with "File Not Found"
-Additional information:
-Attached is a wireshark dump from QEMU on Linux host. The same command sequence will all be successful on Windows host.