From: "Pali Rohár" <pali@kernel.org>
To: qemu-devel@nongnu.org
Subject: [PATCH] qemu-options: Improve description for -smb option
Date: Sat, 2 Aug 2025 13:05:49 +0200 [thread overview]
Message-ID: <20250802110549.23438-1-pali@kernel.org> (raw)
Add #PRE and #NOFNR flags to LMHOSTS example line.
Include information about LMHOSTS path on Windows 3.x.
Windows NT 3.1 requires #NOFNR flag for successful hostname resolving as
described in MS article Q103765 because qemu/smbd does not respond to
netbios name verification queries. #PRE is suggested in that article too
and decrease delay on Windows 3.x for the first connection.
Signed-off-by: Pali Rohár <pali@kernel.org>
---
qemu-options.hx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index ab23f14d2178..d5654756f125 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -3307,10 +3307,10 @@ SRST
::
- 10.0.2.4 smbserver
+ 10.0.2.4 smbserver #PRE #NOFNR
- must be added in the file ``C:\WINDOWS\LMHOSTS`` (for windows
- 9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
+ must be added in the file ``C:\WINDOWS\LMHOSTS`` (for Windows
+ 3x/9x/Me) or ``C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS`` (Windows
NT/2000).
Then ``dir`` can be accessed in ``\\smbserver\qemu``.
--
2.20.1
next reply other threads:[~2025-08-02 11:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-02 11:05 Pali Rohár [this message]
2025-08-10 13:09 ` [PATCH] qemu-options: Improve description for -smb option Pali Rohár
2025-09-07 10:08 ` Pali Rohár
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250802110549.23438-1-pali@kernel.org \
--to=pali@kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).